- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 706 for openapi (0.04 seconds)
-
docs/pt/docs/tutorial/bigger-applications.md
...como pretendíamos. * Elas serão marcadas com uma lista de tags que contêm uma única string `"items"`. * Essas "tags" são especialmente úteis para os sistemas de documentação interativa automática (usando OpenAPI). * Todas elas incluirão as `responses` predefinidas. * Todas essas *operações de rota* terão a lista de `dependencies` avaliada/executada antes delas.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 19.7K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
assert "parameter response_model=None" in e.value.args[0] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/no_response_model-no_annotation-return_model": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 47.7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
* A `skip` query parameter that is an `int`, with a default of `0`. * A `limit` query parameter that is an `int`, with a default of `100`. In both cases the data will be converted, validated, documented on the OpenAPI schema, etc. ## Use it { #use-it } Now you can declare your dependency using this class. {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/zh/docs/history-design-future.md
</blockquote> ## 调研 通过使用之前所有的备选方案,我有机会从它们之中学到了很多东西,获取了很多想法,并以我和我的开发团队能想到的最好方式把这些思路整合成一体。 例如,大家都清楚,在理想状态下,它应该基于标准的 Python 类型提示。 而且,最好的方式是使用现有的标准。 因此,甚至在开发 **FastAPI** 前,我就花了几个月的时间研究 OpenAPI、JSON Schema、OAuth2 等规范。深入理解它们之间的关系、重叠及区别之处。 ## 设计 然后,我又花了一些时间从用户角度(使用 FastAPI 的开发者)设计了开发者 **API**。 同时,我还在最流行的 Python 代码编辑器中测试了很多思路,包括 PyCharm、VS Code、基于 Jedi 的编辑器。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
* Um parâmetro de consulta `skip` do tipo `int`, com valor padrão `0`. * Um parâmetro de consulta `limit` do tipo `int`, com valor padrão `100`. Os dados serão convertidos, validados, documentados no esquema da OpenAPI e etc nos dois casos. ## Utilizando { #use-it } Agora você pode declarar sua dependência utilizando essa classe. {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/extra-models.md
## `Union` ou `anyOf` { #union-or-anyof } Você pode declarar uma resposta como o `Union` de dois ou mais tipos, o que significa que a resposta seria qualquer um deles. Isso será definido no OpenAPI com `anyOf`. Para fazer isso, use a anotação de tipo padrão do Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note | NotaCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/de/docs/history-design-future.md
Der beste Ansatz bestand außerdem darin, bereits bestehende Standards zu nutzen. Bevor ich also überhaupt angefangen habe, **FastAPI** zu schreiben, habe ich mehrere Monate damit verbracht, die Spezifikationen für OpenAPI, JSON Schema, OAuth2, usw. zu studieren und deren Beziehungen, Überschneidungen und Unterschiede zu verstehen. ## Design { #design }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/response-status-code.md
/// `status_code` 매개변수는: * 응답에서 해당 상태 코드를 반환합니다. * 상태 코드를 OpenAPI 스키마(및 사용자 인터페이스)에 문서화 합니다. <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image01.png"> /// note | 참고 어떤 응답 코드들은 해당 응답에 본문이 없다는 것을 의미하기도 합니다 (다음 항목 참고). 이에 따라 FastAPI는 응답 본문이 없음을 명시하는 OpenAPI를 생성합니다. /// ## HTTP 상태 코드에 대하여 /// note | 참고
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.8K bytes - Click Count (0) -
docs/de/docs/tutorial/response-model.md
* In der OpenAPI *Pfadoperation* ein **JSON-Schema** für die Response hinzuzufügen. * Dieses wird von der **automatischen Dokumentation** verwendet. * Es wird auch von automatisch Client-Code-generierenden Tools verwendet.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 17.5K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
## `Union` or `anyOf` { #union-or-anyof } You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them. It will be defined in OpenAPI with `anyOf`. To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// noteCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.9K bytes - Click Count (0)