Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 946 for schema (0.07 sec)

  1. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
                                        }
                                    }
                                },
                            },
                        },
                    },
                },
            },
            "components": {
                "schemas": {
                    "HTTPValidationError": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. docs/zh-hant/docs/tutorial/first-steps.md

    ### OpenAPI
    
    **FastAPI** 使用定義 API 的 **OpenAPI** 標準來生成一個 「schema」 與你的所有 API。
    
    #### 「Schema」
    
    「schema」是對某個事物的定義或描述。它並不是實作它的程式碼,而僅僅是一個抽象的描述。
    
    #### API 「schema」
    
    在這種情況下,<a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> 是一個規範,它規定了如何定義 API 的 schema。
    
    這個 schema 定義包含了你的 API 路徑、可能接收的參數等內容。
    
    #### 資料 「schema」
    
    「schema」這個術語也可能指某些資料的結構,比如 JSON 內容的結構。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/extending-openapi.md

    ### Das OpenAPI-Schema generieren { #generate-the-openapi-schema }
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    
    {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[2,15:21] *}
    
    ### Das OpenAPI-Schema ändern { #modify-the-openapi-schema }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_query_params_str_validations/test_tutorial002.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/extending-openapi.md

    {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[22:24] *}
    
    ### Cache the OpenAPI schema { #cache-the-openapi-schema }
    
    You can use the property `.openapi_schema` as a "cache", to store your generated schema.
    
    That way, your application won't have to generate the schema every time a user opens your API docs.
    
    It will be generated only once, and then the same cached schema will be used for the next requests.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. tests/test_union_body_discriminator.py

                                    "application/json": {
                                        "schema": {
                                            "oneOf": [
                                                {"$ref": "#/components/schemas/FirstItem"},
                                                {"$ref": "#/components/schemas/OtherItem"},
                                            ],
                                            "discriminator": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial006.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005.py

                                    "description": "Successful Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Token"}
                                        }
                                    },
                                },
                                "422": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_form_models/test_tutorial001.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top