Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,042 for Id (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        /**
         * Create a local repository or a test repository.
         *
         * @param id     the unique identifier of the repository
         * @param url    the URL of the repository
         * @param layout the layout of the repository
         */
        public DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout) {
            this(id, url, layout, null, null);
        }
    
        /**
         * Create a remote deployment repository.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
         * Key used to query the session data
         * @param <T> the type of the object associated to this key
         */
        final class Key<T> {
    
            private final Class<T> type;
            private final Object id;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/generate-clients.md

    ```
    
    ...это потому, что генератор клиента использует внутренний **ID операции** OpenAPI для каждой *операции пути*.
    
    OpenAPI требует, чтобы каждый ID операции был уникален среди всех *операций пути*, поэтому FastAPI использует **имя функции**, **путь** и **HTTP‑метод/операцию** для генерации этого ID операции, так как таким образом можно гарантировать уникальность ID операций.
    
    Но далее я покажу, как это улучшить. 🤓
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    In this case, you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  6. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                        .id("id" + Long.toHexString(entropy.nextLong()))
                        .name("name" + Long.toHexString(entropy.nextLong()))
                        .url("url" + Long.toHexString(entropy.nextLong()))
                        .build();
                pluginRepos.add(r);
            }
            Profile p = Profile.newBuilder()
                    .id("id" + Long.toHexString(entropy.nextLong()))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. cmd/tier-sweeper.go

    	// 2. If bucket versioning is suspended and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, remove null version's remote object if it exists.
    	// 3. If bucket versioning is enabled and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, nothing to be done (a delete marker is added).
    	delTier := false
    	switch {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  8. docs_src/websockets/tutorial002_an_py310.py

            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  9. docs_src/websockets/tutorial002_py310.py

            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.7K bytes
    - Click Count (0)
  10. okhttp-coroutines/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines"
    )
    
    project.applyJavaModules("okhttp3.coroutines")
    
    dependencies {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 937 bytes
    - Click Count (0)
Back to Top