- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 262 for models2 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/tutorial/query-param-models.md
**FastAPI** 将会从请求的**查询参数**中**提取**出**每个字段**的数据,并将其提供给你定义的 Pydantic 模型。 ## 查看文档 你可以在 `/docs` 页面的 UI 中查看查询参数: <div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## 禁止额外的查询参数 在一些特殊的使用场景中(可能不是很常见),你可能希望**限制**你要接收的查询参数。 你可以使用 Pydantic 的模型配置来 `forbid`(意为禁止 —— 译者注)任何 `extra`(意为额外的 —— 译者注)字段:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Nov 26 22:06:31 GMT 2024 - 2K bytes - Click Count (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
Tatsächlich gibt es in einigen Fällen sogar **zwei JSON-Schemas** in OpenAPI für dasselbe Pydantic-Modell, für Eingabe und Ausgabe, je nachdem, ob sie **Defaultwerte** haben. Sehen wir uns an, wie das funktioniert und wie Sie es bei Bedarf ändern können. ## Pydantic-Modelle für Eingabe und Ausgabe { #pydantic-models-for-input-and-output } Nehmen wir an, Sie haben ein Pydantic-Modell mit Defaultwerten wie dieses:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 5.2K bytes - Click Count (0) -
compat/maven-repository-metadata/pom.xml
</dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>1.2.0</version> <models> <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model> </models> <params> <param>forcedIOModelVersion=1.1.0</param>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.5K bytes - Click Count (0) -
api/maven-api-model/pom.xml
<plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>4.2.0</version> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> <models> <model>src/main/mdo/maven.mdo</model> </models> <templates> <template>model.vm</template> </templates>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 16 12:39:59 GMT 2025 - 3.2K bytes - Click Count (0) -
api/maven-api-settings/pom.xml
<plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>2.0.0</version> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> <models> <model>src/main/mdo/settings.mdo</model> </models> <templates> <template>model.vm</template> </templates>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.6K bytes - Click Count (0) -
api/maven-api-toolchain/pom.xml
<plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>1.2.0</version> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> <models> <model>src/main/mdo/toolchains.mdo</model> </models> <templates> <template>model.vm</template> </templates>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-param-models.md
## Перевірте документацію Ви можете побачити параметри запиту в UI документації за `/docs`: <div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## Заборона зайвих Query параметрів У деяких особливих випадках (ймовірно, не дуже поширених) Ви можете захотіти **обмежити** query параметри, які дозволено отримувати.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Jun 05 12:12:04 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON: <img src="/img/tutorial/response-model/image01.png"> E ambos os modelos serão usados para a documentação interativa da API: <img src="/img/tutorial/response-model/image02.png"> ## Outras anotações de tipo de retorno { #other-return-type-annotations }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/cookie-param-models.md
**FastAPI**は、リクエストの**クッキー**から**それぞれのフィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。 ## ドキュメントの確認 対話的APIドキュメントUI `/docs` で、定義されているクッキーを確認できます: <div class="screenshot"> <img src="/img/tutorial/cookie-param-models/image01.png"> </div> /// info | 備考 **ブラウザがクッキーを処理し**ていますが、特別な方法で内部的に処理を行っているために、**JavaScript**からは簡単に操作**できない**ことに留意してください。 **対話的APIドキュメントUI** `/docs` にアクセスすれば、*パスオペレーション*に関するクッキーの**ドキュメンテーション**を確認できます。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Feb 28 14:21:27 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/header-param-models.md
**FastAPI**는 요청에서 받은 **헤더**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다. ## 문서 확인하기 문서 UI `/docs`에서 필요한 헤더를 볼 수 있습니다: <div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 추가 헤더 금지하기 일부 특별한 사용 사례(흔하지는 않겠지만)에서는 수신하려는 헤더를 **제한**할 수 있습니다. Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 09 12:45:39 GMT 2024 - 2K bytes - Click Count (0)