17 Commits (debug)

Author SHA1 Message Date
Kevin Kirsche 8081d2302e
📝 Fix minor typos (#12516) 5 months ago
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
0shah0 85cded53c8
✏️ Fix import typo in reference example for `Security` (#11168) 8 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
Aleksei Kotenko 9c80842cea
♻️ Update mypy (#11049) 1 year ago
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 1 year ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 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
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 5 years ago
Sebastián Ramírez bff5dbbf5d
Implement dependency value cache per request (#292) 6 years ago
Sebastián Ramírez ca27317b65
Add param functions, to override types, to make mypy happy (#226) 6 years ago