fastapi/fastapi/openapi
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152)
* ♻️ Refactor model for OpenAPI Examples to use a reusable TypedDict

*  Add support for openapi_examples in parameters

* 📝 Add new docs examples for new parameter openapi_examples

* 📝 Update docs for Schema Extra to include OpenAPI examples

*  Add tests for new source examples, for openapi_examples

*  Add tests for openapi_examples corner cases and all parameters

* 💡 Tweak and ignore type annotation checks for custom TypedDict
2023-08-26 20:03:13 +02:00
..
__init__.py ♻️ Refactor, fix and update code 2018-12-06 20:24:50 +04:00
constants.py Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
docs.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
models.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00
utils.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00