fastapi/docs/en/docs/img/tutorial
Sebastián Ramírez ea43f227e5
Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145)
* 📝 Add docs for Separate OpenAPI Schemas for Input and Output

* 🔧 Add new docs page to MkDocs config

*  Add separate_input_output_schemas parameter to FastAPI class

* 📝 Add source examples for separating OpenAPI schemas

*  Add tests for separated OpenAPI schemas

* 📝 Add source examples for Python 3.10, 3.9, and 3.7+

* 📝 Update docs for Separate OpenAPI Schemas with new multi-version examples

*  Add and update tests for different Python versions

*  Add tests for corner cases with separate_input_output_schemas

* 📝 Update tutorial to use Union instead of Optional

* 🐛 Fix type annotations

* 🐛 Fix correct import in test

* 💄 Add CSS to simulate browser windows for screenshots

*  Add playwright as a dev dependency to automate generating screenshots

* 🔨 Add Playwright scripts to generate screenshots for new docs

* 📝 Update docs, tweak text to match screenshots

* 🍱 Add screenshots for new docs
2023-08-25 21:10:22 +02:00
..
additional-responses Deep merge OpenAPI responses (#1577) 2020-06-15 13:12:12 +02:00
async-sql-databases Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
behind-a-proxy Auto-generate OpenAPI servers from root_path (#1596) 2020-07-10 19:28:18 +02:00
bigger-applications 🔧 Add pre-commit with first config and first formatting pass (#4888) 2022-05-12 00:06:16 +00:00
body Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
body-fields Add support for adding multiple examples in request bodies and path, query, cookie, and header params (#1267) 2021-05-05 20:20:56 +02:00
body-nested-models Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
custom-response Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
dataclasses Add support for `dataclasses` in request bodies and `response_model` (#3577) 2021-07-21 19:54:08 +02:00
debugging 📝 Add example of Pycharm in tutorial/debugging.md (#1096) 2020-03-29 18:50:29 +02:00
dependencies Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
extending-openapi Enable configuring Swagger UI parameters (#2568) 2022-01-16 20:26:24 +01:00
generate-clients Add support for custom `generate_unique_id_function` and docs for generating clients (#4650) 2022-03-04 23:02:18 +01:00
graphql Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
metadata Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
openapi-callbacks Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
openapi-webhooks Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
path-operation-advanced-configuration Add support for extensions and updates to the OpenAPI schema in path operations (#1922) 2021-07-29 22:01:13 +02:00
path-operation-configuration Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
path-params 📝 Fix code consistency in examples for Tutorial - User Guide - Path Parameters (#2158) 2020-11-05 23:30:09 +01:00
query-params-str-validations Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response-model Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response-status-code Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
security Auto-generate OpenAPI servers from root_path (#1596) 2020-07-10 19:28:18 +02:00
separate-openapi-schemas Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145) 2023-08-25 21:10:22 +02:00
sql-databases Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
sub-applications Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
websockets 📝 Update tutorial for WebSockets with dependencies (#1540) 2020-06-13 22:51:34 +02:00