- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 237 for UI (0.01 seconds)
-
docs/zh/docs/tutorial/header-param-models.md
{* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *} **FastAPI** 将从请求中接收到的 **headers** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。 ## 查看文档 您可以在文档 UI 的 `/docs` 中查看所需的 headers: <div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 禁止额外的 Headers 在某些特殊使用情况下(可能并不常见),您可能希望**限制**您想要接收的 headers。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 15 16:44:11 GMT 2024 - 1.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/request-form-models.md
O **FastAPI** irá **extrair** as informações para **cada campo** dos **dados do formulário** na requisição e dar para você o modelo Pydantic que você definiu. ## Confira os Documentos { #check-the-docs } Você pode verificar na UI de documentação em `/docs`: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Proibir Campos Extras de Formulários { #forbid-extra-form-fields }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/metadata.md
* **Swagger UI**: acessível em `/docs`. * Você pode definir sua URL com o parâmetro `docs_url`. * Você pode desativá-la definindo `docs_url=None`. * **ReDoc**: acessível em `/redoc`. * Você pode definir sua URL com o parâmetro `redoc_url`. * Você pode desativá-la definindo `redoc_url=None`. Por exemplo, para definir o Swagger UI para ser servido em `/documentation` e desativar o ReDoc:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
For example, if you declare a parameter of type `Hero`, it will be read from the **JSON body**. The same way, you can declare it as the function's **return type**, and then the shape of the data will show up in the automatic API docs UI. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[40:45] hl[40:45] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
/// info | 说明 发送数据使用 `POST`(最常用)、`PUT`、`DELETE`、`PATCH` 等操作。 规范中没有定义使用 `GET` 发送请求体的操作,但不管怎样,FastAPI 也支持这种方式,只不过仅用于非常复杂或极端的用例。 我们不建议使用 `GET`,因此,在 Swagger UI 交互文档中不会显示有关 `GET` 的内容,而且代理协议也不一定支持 `GET`。 /// ## 导入 Pydantic 的 `BaseModel` 从 `pydantic` 中导入 `BaseModel`: {* ../../docs_src/body/tutorial001_py310.py hl[2] *} ## 创建数据模型Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/schema-extra-example.md
FastAPI 0.99.0 이전 버전에서 (0.99.0 이상 버전은 새로운 OpenAPI 3.1.0을 사용합니다), `example` 혹은 `examples`를 다른 유틸리티(`Query()`, `Body()` 등)와 함께 사용했을 때, 저러한 예시는 데이터를 설명하는 JSON 스키마에 추가되지 않으며 (심지어 OpenAPI의 자체 JSON 스키마에도 포함되지 않습니다), OpenAPI의 *경로 작동* 선언에 직접적으로 추가됩니다 (JSON 스키마를 사용하는 OpenAPI 부분 외에도).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 10.7K bytes - Click Count (0) -
docs/zh/docs/features.md
### 自动生成文档 交互式 API 文档以及具探索性 web 界面。因为该框架是基于 OpenAPI,所以有很多可选项,FastAPI 默认自带两个交互式 API 文档。 * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>,可交互式操作,能在浏览器中直接调用和测试你的 API 。 
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/de/docs/tutorial/request-form-models.md
## Die Dokumentation testen { #check-the-docs } Sie können dies in der Dokumentations-UI unter `/docs` testen: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Zusätzliche Formularfelder verbieten { #forbid-extra-form-fields }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-form-models.md
您只需声明一个 **Pydantic 模型**,其中包含您希望接收的**表单字段**,然后将参数声明为 `Form` : {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *} **FastAPI** 将从请求中的**表单数据**中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。 ## 检查文档 您可以在文档 UI 中验证它,地址为 `/docs` : <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## 禁止额外的表单字段 在某些特殊使用情况下(可能并不常见),您可能希望将表单字段**限制**为仅在 Pydantic 模型中声明过的字段,并**禁止**任何**额外**的字段。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 10 20:36:08 GMT 2024 - 2.1K bytes - Click Count (0) -
docs/en/mkdocs.yml
- how-to/custom-request-and-route.md - how-to/conditional-openapi.md - how-to/extending-openapi.md - how-to/separate-openapi-schemas.md - how-to/custom-docs-ui-assets.md - how-to/configure-swagger-ui.md - how-to/testing-database.md - how-to/authentication-error-status-code.md - Reference (Code API): - reference/index.md - reference/fastapi.md - reference/parameters.mdCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:44:55 GMT 2025 - 9.2K bytes - Click Count (0)