23 Commits (aa21814a89853c17c139054a5c51f0bb1ea68a0a)

Author SHA1 Message Date
Sebastián Ramírez aa21814a89
♻️ Refactor deciding if `embed` body fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models in `Form`, `Query` and others (#12117) 7 months ago
Giunio 51b625e127
🐛 Fix `allow_inf_nan` option for Param and Body classes (#11867) 7 months ago
Sebastián Ramírez 27da0d02a7
Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 12 months ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 2 years ago
Russ Biggs bdd991244d
✏️ Fix typo in deprecation warnings in `fastapi/params.py` (#9854) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Nadav Zingerman 375513f114
Add support for PEP-593 `Annotated` for specifying dependencies and parameters (#4871) 2 years ago
Sebastián Ramírez 9262fa8362
Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 3 years ago
Mark ca5d57ea79
Allow hiding from OpenAPI (and Swagger UI) `Query`, `Cookie`, `Header`, and `Path` parameters (#3144) 3 years ago
Austin Orr e10a4375f9
Add support for adding multiple examples in request bodies and path, query, cookie, and header params (#1267) 4 years ago
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 4 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 5 years ago
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 5 years ago
Rupsi Kaushik 3699e17212
Implement __repr__ methods for path parameters to simplify debugging (#1560) 5 years ago
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 5 years ago
Sebastián Ramírez bff5dbbf5d
Implement dependency value cache per request (#292) 6 years ago
Sebastián Ramírez 748dc375db 🐛 Fix Form and File params must always be embeded 6 years ago
Sebastián Ramírez 948a39af95 🎨 Re-order parameters 6 years ago
Sebastián Ramírez db3c270f8e Update requests with body, rename params 6 years ago
Sebastián Ramírez 0e19c24014 Update parameter names and order 6 years ago
Sebastián Ramírez b9d912c638 ♻️ Refactor, fix and update code 6 years ago
Sebastián Ramírez 406c092a3b 🎉 Start tracking messy initial stage 6 years ago