- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 274 for Schemas (0.05 seconds)
-
tests/test_schema_compat_pydantic_v2.py
"schema": {"$ref": "#/components/schemas/User"} } }, } }, } } }, "components": { "schemas": IsOneOf( # Pydantic >= 2.11: no top-level OtherRoleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-responses.md
* 一个媒体类型作为键,例如 `application/json`,它的值是另一个 JSON 对象,该对象包含: * 一个键 `schema`,它的值是来自该模型的 JSON Schema,这里就是正确的位置。 * **FastAPI** 会在这里添加一个引用,指向你 OpenAPI 中另一个位置的全局 JSON Schemas,而不是直接内联。这样,其他应用和客户端可以直接使用这些 JSON Schemas,提供更好的代码生成工具等。 /// 为该*路径操作*在 OpenAPI 中生成的响应将是: ```JSON hl_lines="3-12" { "responses": { "404": { "description": "Additional Response", "content": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/ja/docs/advanced/additional-responses.md
"schema": { "$ref": "#/components/schemas/Message" } } } }, "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Item" }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
"application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } ``` The schemas are referenced to another place inside the OpenAPI schema: ```JSON hl_lines="4-16" { "components": { "schemas": { "Message": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
* Generate [JSON Schema](https://json-schema.org) definitions for your model, you can also use them anywhere else you like if it makes sense for your project. * Those schemas will be part of the generated OpenAPI schema, and used by the automatic documentation <abbr title="User Interfaces">UIs</abbr>. ## Automatic docs { #automatic-docs }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/tutorial/schema-extra-example.md
/// ### JSON Schema's `examples` field { #json-schemas-examples-field } But then JSON Schema added an [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) field to a new version of the specification. And then the new OpenAPI 3.1.0 was based on the latest version (JSON Schema 2020-12) that included this new field `examples`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/en/docs/advanced/vibe.md
{* ../../docs_src/vibe/tutorial001_py310.py hl[8:12] *} ## Benefits { #benefits } By using `@app.vibe()`, you get to enjoy: * **Freedom**: No data validation. No schemas. No constraints. Just vibes. ✨ * **Flexibility**: The request can be anything. The response can be anything. Who needs types anyway?Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 2K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
### API Docs { #api-docs } If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses: <img src="/img/tutorial/generate-clients/image01.png"> You can see those schemas because they were declared with the models in the app. That information is available in the app's **OpenAPI schema**, and then shown in the API docs.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
docs/ja/docs/tutorial/schema-extra-example.md
この古いOpenAPI固有の`examples`パラメータは、FastAPI `0.103.0`以降は`openapi_examples`になりました。 /// ### JSON Schemaの`examples`フィールド { #json-schemas-examples-field } しかしその後、JSON Schemaは新しいバージョンの仕様に[`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5)フィールドを追加しました。 そして、新しいOpenAPI 3.1.0は、この新しいフィールド`examples`を含む最新バージョン(JSON Schema 2020-12)に基づくようになりました。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
Esta definição de *schema* inclui os paths da sua API, os parâmetros possíveis que eles usam, etc. #### "*Schema*" de dados { #data-schema } O termo "*schema*" também pode se referir à forma de alguns dados, como um conteúdo JSON. Nesse caso, significaria os atributos JSON e os tipos de dados que eles possuem, etc. #### OpenAPI e JSON Schema { #openapi-and-json-schema }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 14.2K bytes - Click Count (0)