- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 960 for Scheme (0.12 seconds)
-
docs/zh/docs/advanced/additional-responses.md
**FastAPI** 会获取该模型,生成它的 JSON Schema,并将其放在 OpenAPI 中的正确位置。 例如,要声明另一个状态码为 `404` 且具有 Pydantic 模型 `Message` 的响应,你可以这样写: {* ../../docs_src/additional_responses/tutorial001_py310.py hl[18,22] *} /// note | 注意 记住你需要直接返回 `JSONResponse`。 /// /// info | 信息 `model` 键不是 OpenAPI 的一部分。 **FastAPI** 会从这里获取 Pydantic 模型,生成 JSON Schema,并把它放到正确的位置。 正确的位置是: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/zh/docs/tutorial/body.md
* 把接收的数据赋值给参数 `item`。 * 因为你把函数中的参数类型声明为 `Item`,所以还能获得所有属性及其类型的编辑器支持(补全等)。 * 为你的模型生成 [JSON Schema](https://json-schema.org) 定义,如果对你的项目有意义,还可以在其他地方使用它们。 * 这些 schema 会成为生成的 OpenAPI Schema 的一部分,并被自动文档的 <abbr title="User Interfaces - 用户界面">UIs</abbr> 使用。 ## 自动文档 { #automatic-docs } 你的模型的 JSON Schema 会成为生成的 OpenAPI Schema 的一部分,并显示在交互式 API 文档中: <img src="/img/tutorial/body/image01.png"> 并且,还会用于需要它们的每个*路径操作*的 API 文档中:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
.github/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended", "group:monorepos", "group:recommended", ":dependencyDashboard" ], "semanticCommits": "disabled", "labels": [ "renovate" ], "ignoreDeps": [ "com.squareup.okhttp3:okhttp", "com.squareup.okhttp3:okhttp-tls", "com.squareup.okhttp3:mockwebserver" ], "packageRules": [ {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 12:02:18 GMT 2026 - 1.3K bytes - Click Count (0) -
docs_src/extending_openapi/tutorial001_py310.py
return app.openapi_schema openapi_schema = get_openapi( title="Custom title", version="2.5.0", summary="This is a very custom OpenAPI schema", description="Here's a longer description of the custom **OpenAPI** schema", routes=app.routes, ) openapi_schema["info"]["x-logo"] = { "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 737 bytes - Click Count (0) -
docs/pt/docs/tutorial/body-fields.md
Você pode declarar informação extra em `Field`, `Query`, `Body`, etc. E isso será incluído no JSON Schema gerado. Você irá aprender mais sobre adicionar informações extras posteriormente nessa documentação, quando estiver aprendendo a declarar exemplos. /// warning | Atenção Chaves extras passadas para `Field` também estarão presentes no schema OpenAPI resultante da sua aplicação.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.6K bytes - Click Count (0) -
docs/fr/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image03.png"> ## Modifier le thème { #change-the-theme } De la même manière, vous pouvez définir le thème de la coloration syntaxique avec la clé « syntaxHighlight.theme » (remarquez le point au milieu) : {* ../../docs_src/configure_swagger_ui/tutorial002_py310.py hl[3] *} Cette configuration modifierait le thème de couleurs de la coloration syntaxique :
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/ru/docs/how-to/extending-openapi.md
### Сгенерируйте схему OpenAPI { #generate-the-openapi-schema } Затем используйте ту же вспомогательную функцию для генерации схемы OpenAPI внутри функции `custom_openapi()`: {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[2,15:21] *} ### Измените схему OpenAPI { #modify-the-openapi-schema }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/tr/docs/how-to/extending-openapi.md
### OpenAPI Şemasını Üretme { #generate-the-openapi-schema } Ardından, bir `custom_openapi()` fonksiyonunun içinde aynı yardımcı fonksiyonu kullanarak OpenAPI şemasını üretin: {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[2,15:21] *} ### OpenAPI Şemasını Değiştirme { #modify-the-openapi-schema }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.5K bytes - Click Count (0) -
src/main/assemblies/extension/kibana/fess_log.ndjson
Type\":\"date_histogram\"},\"y\":[{\"accessor\":1,\"format\":{\"id\":\"number\"},\"params\":{},\"aggType\":\"count\"}]}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Query Count\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"requestedAt\",\"timeRange\":{\"from\":\"now-2d\",\"to\":\"now\"},\"useNormalizedEsInterval\":true,\"interval\":\"s\",\"drop_partials\":false,\"mi...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Aug 12 01:26:21 GMT 2019 - 18.2K bytes - Click Count (0) -
docs/es/docs/advanced/additional-responses.md
**FastAPI** tomará el modelo de Pydantic de allí, generará el JSON Schema y lo colocará en el lugar correcto. El lugar correcto es: * En la clave `content`, que tiene como valor otro objeto JSON (`dict`) que contiene: * Una clave con el media type, por ejemplo, `application/json`, que contiene como valor otro objeto JSON, que contiene: * Una clave `schema`, que tiene como valor el JSON Schema del modelo, aquí es el lugar correcto.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.2K bytes - Click Count (0)