- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for V2 (0.11 sec)
-
docs/de/docs/how-to/separate-openapi-schemas.md
# Separate OpenAPI-Schemas für Eingabe und Ausgabe oder nicht Bei Verwendung von **Pydantic v2** ist die generierte OpenAPI etwas genauer und **korrekter** als zuvor. 😎 Tatsächlich gibt es in einigen Fällen sogar **zwei JSON-Schemas** in OpenAPI für dasselbe Pydantic-Modell für Eingabe und Ausgabe, je nachdem, ob sie **Defaultwerte** haben. Sehen wir uns an, wie das funktioniert und wie Sie es bei Bedarf ändern können. ## Pydantic-Modelle für Eingabe und Ausgabe
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:18:03 GMT 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
# Separate OpenAPI Schemas for Input and Output or Not When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎 In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**. Let's see how that works and how to change it if you need to do that. ## Pydantic Models for Input and Output
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 6.7K bytes - Viewed (0)