- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 784 for schema (0.05 seconds)
-
docs/pt/docs/tutorial/extra-data-types.md
* Nas respostas, o `set` será convertido para uma `list`. * O esquema gerado vai especificar que os valores do `set` são unicos (usando o `uniqueItems` do JSON Schema). * `bytes`: * O `bytes` padrão do Python. * Em requisições e respostas será representado como uma `str`. * O esquema gerado vai especificar que é uma `str` com o "formato" `binary`. * `Decimal`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 3K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
* 以 JSON 形式读取请求体 * (在必要时)把请求体转换为对应的类型 * 校验数据: * 数据无效时返回错误信息,并指出错误数据的确切位置和内容 * 把接收的数据赋值给参数 `item` * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持 * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用 * 这些概图是 OpenAPI 概图的部件,用于 API 文档 <abbr title="用户界面">UI</abbr> ## API 文档 Pydantic 模型的 JSON 概图是 OpenAPI 生成的概图部件,可在 API 文档中显示: <img src="/img/tutorial/body/image01.png">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) -
tests/test_tutorial/test_settings/test_app01.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-model.md
Pydanticモデルの属性に対して宣言するのと同じ型を受け取るので、Pydanticモデルになることもできますが、例えば、`List[Item]`のようなPydanticモデルの`list`になることもできます。 FastAPIは`response_model`を使って以下のことをします: * 出力データを型宣言に変換します。 * データを検証します。 * OpenAPIの *path operation* で、レスポンス用のJSON Schemaを追加します。 * 自動ドキュメントシステムで使用されます。 しかし、最も重要なのは: * 出力データをモデルのデータに限定します。これがどのように重要なのか以下で見ていきましょう。 /// note | 技術詳細
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
"get": { "responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, "summary": "Read Current User", "operationId": "read_current_user_users_me_get",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/index.md
/// ## Integriert in OpenAPI { #integrated-with-openapi } Alle Requestdeklarationen, -validierungen und -anforderungen Ihrer Abhängigkeiten (und Unterabhängigkeiten) werden in dasselbe OpenAPI-Schema integriert. Die interaktive Dokumentation enthält also auch alle Informationen aus diesen Abhängigkeiten: <img src="/img/tutorial/dependencies/image01.png"> ## Einfache Verwendung { #simple-usage }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/tr/docs/features.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.1K bytes - Click Count (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
* `openapi_url`: die URL, unter welcher die HTML-Seite für die Dokumentation das OpenAPI-Schema für Ihre API abrufen kann. Sie können hier das Attribut `app.openapi_url` verwenden. * `title`: der Titel Ihrer API.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments: * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`. * `title`: the title of your API. * `oauth2_redirect_url`: you can use `app.swagger_ui_oauth2_redirect_url` here to use the default.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.8K bytes - Click Count (0) -
tests/test_request_params/test_path/test_required_str.py
), ], ) def test_schema(path: str, expected_name: str, expected_title: str): assert app.openapi()["paths"][path]["get"]["parameters"] == [ { "required": True, "schema": {"title": expected_title, "type": "string"}, "name": expected_name, "in": "path", } ] @pytest.mark.parametrize( "path", [Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.3K bytes - Click Count (0)