fastapi/tests/test_tutorial/test_schema_extra_example
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
test_tutorial001.py
test_tutorial001_pv1.py
test_tutorial001_py310.py
test_tutorial001_py310_pv1.py
test_tutorial004.py
test_tutorial004_an.py
test_tutorial004_an_py39.py
test_tutorial004_an_py310.py
test_tutorial004_py310.py
test_tutorial005.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00
test_tutorial005_an.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00
test_tutorial005_an_py39.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00
test_tutorial005_an_py310.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00
test_tutorial005_py310.py Add support for `openapi_examples` in all FastAPI parameters (#10152) 2023-08-26 20:03:13 +02:00