Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 444 for Schemas (0.04 sec)

  1. docs/de/docs/how-to/separate-openapi-schemas.md

    ### Gleiches Schema für Eingabe- und Ausgabemodelle in der Dokumentation { #same-schema-for-input-and-output-models-in-docs }
    
    Und jetzt wird es ein einziges Schema für die Eingabe und Ausgabe des Modells geben, nur `Item`, und es wird `description` als **nicht erforderlich** kennzeichnen:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image05.png">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. docs/ru/docs/how-to/separate-openapi-schemas.md

    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    
    Благодаря этой возможности **Pydantic v2** документация вашего API становится более **точной**; если у вас есть сгенерированные клиенты и SDK, они тоже будут точнее, с лучшим **удобством для разработчиков** и большей консистентностью. 🎉
    
    ## Не разделять схемы { #do-not-separate-schemas }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Same Schema for Input and Output Models in Docs { #same-schema-for-input-and-output-models-in-docs }
    
    And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image05.png">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs/pt/docs/how-to/separate-openapi-schemas.md

    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image03.png">
    </div>
    
    ### Modelo para Entrada e Saída na Documentação { #model-for-input-and-output-in-docs }
    
    E se você verificar todos os Schemas disponíveis (JSON Schemas) no OpenAPI, verá que há dois, um `Item-Input` e um `Item-Output`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. docs/es/docs/how-to/separate-openapi-schemas.md

    # Separación de Esquemas OpenAPI para Entrada y Salida o No { #separate-openapi-schemas-for-input-and-output-or-not }
    
    Al usar **Pydantic v2**, el OpenAPI generado es un poco más exacto y **correcto** que antes. 😎
    
    De hecho, en algunos casos, incluso tendrá **dos JSON Schemas** en OpenAPI para el mismo modelo Pydantic, para entrada y salida, dependiendo de si tienen **valores por defecto**.
    
    Veamos cómo funciona eso y cómo cambiarlo si necesitas hacerlo.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. tests/test_modules_same_name_body/test_main.py

                                    "schema": {
                                        "$ref": "#/components/schemas/Body_compute_b_compute__post"
                                    }
                                }
                            },
                            "required": True,
                        },
                    }
                },
            },
            "components": {
                "schemas": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 27 14:42:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_additional_responses/test_tutorial001.py

                                "description": "Not Found",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Message"}
                                    }
                                },
                            },
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial001_02.py

                            "requestBody": {
                                "content": {
                                    "multipart/form-data": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Body_create_file_files__post"
                                        }
                                    }
                                }
                            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003.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
    - 7.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py

                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/UserIn"}
                                }
                            },
                            "required": True,
                        },
                    }
                }
            },
            "components": {
                "schemas": {
                    "UserIn": {
                        "title": "UserIn",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top