Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 980 for ModelC (0.06 seconds)

  1. docs/ja/docs/advanced/additional-responses.md

    ただし、それらの追加レスポンスについては、ステータスコードとコンテンツを指定して `JSONResponse` などの `Response` を直接返す必要があります。
    
    ## `model` を使った追加レスポンス { #additional-response-with-model }
    
    *path operation デコレータ*に `responses` パラメータを渡せます。
    
    これは `dict` を受け取り、キーは各レスポンスのステータスコード(例: `200`)、値は各レスポンスの情報を含む別の `dict` です。
    
    それぞれのレスポンス `dict` には、`response_model` と同様に Pydantic モデルを格納する `model` キーを含められます。
    
    FastAPI はそのモデルから JSON Schema を生成し、OpenAPI の適切な場所に含めます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/openapi-callbacks.md

    Adopter temporairement ce point de vue (celui de la *personne développeuse externe*) peut vous aider à trouver plus évident où placer les paramètres, le modèle Pydantic pour le corps, pour la réponse, etc., pour cette *API externe*.
    
    ///
    
    ### Créer un `APIRouter` de callback { #create-a-callback-apirouter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/schema-extra-example.md

    Ви можете задати приклади даних, які ваш застосунок може отримувати.
    
    Ось кілька способів, як це зробити.
    
    ## Додаткові дані Схеми JSON у моделях Pydantic { #extra-json-schema-data-in-pydantic-models }
    
    Ви можете задати `examples` для моделі Pydantic, які буде додано до згенерованої Схеми JSON.
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectActivation;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.building.DefaultModelProblem;
    import org.apache.maven.model.building.Result;
    import org.apache.maven.project.CycleDetectedException;
    import org.apache.maven.project.DuplicateProjectException;
    import org.apache.maven.project.MavenProject;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DistributionArchiveCheckExtension.java

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal;
    
    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.provider.ListProperty;
    
    public class DistributionArchiveCheckExtension {
    
        ListProperty<String> expectedMlLicenses;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 732 bytes
    - Click Count (0)
  6. docs_src/additional_responses/tutorial001_py310.py

    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 506 bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.apache.maven.internal.impl.DefaultLookup;
    import org.apache.maven.internal.impl.DefaultSession;
    import org.apache.maven.internal.impl.InternalMavenSession;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.repository.RepositorySystem;
    import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                // org.apache.maven.plugin.descriptor.PluginDescriptor
                                // as it would pull in dependency on:
                                // - maven-plugin-api (for model)
                                // - Plexus Container (for model supporting classes and exceptions)
                                XmlNode root = XmlService.read(is, null);
                                String groupId = mayGetChild(root, "groupId");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersions.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.identity.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 813 bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 815 bytes
    - Click Count (0)
Back to Top