23 Commits (ea80e466dbdc3bfd9f0baebacf5ec46bc3f71963)

Author SHA1 Message Date
Sebastián Ramírez 3da206c06d
🎨 Update internal types for Python 3.10 (#14898) 4 months ago
Motov Yurii 3a41403ccd
📝 Add links to related sections of docs to docstrings (#14776) 4 months ago
Sebastián Ramírez e300630551
Drop support for `pydantic.v1` (#14609) 5 months ago
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 6 months ago
Sebastián Ramírez ac438b9934
Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262) 7 months ago
Sebastián Ramírez d390f2e41f
Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222) 7 months ago
Kevin Kirsche 8081d2302e
📝 Fix minor typos (#12516) 2 years 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) 2 years ago
0shah0 85cded53c8
✏️ Fix import typo in reference example for `Security` (#11168) 2 years ago
Sebastián Ramírez 27da0d02a7
Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2 years ago
Aleksei Kotenko 9c80842cea
♻️ Update mypy (#11049) 2 years 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) 3 years ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 3 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 3 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 3 years ago
Nadav Zingerman 375513f114
Add support for PEP-593 `Annotated` for specifying dependencies and parameters (#4871) 3 years ago
Sebastián Ramírez 9262fa8362
Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 4 years ago
Mark ca5d57ea79
Allow hiding from OpenAPI (and Swagger UI) `Query`, `Cookie`, `Header`, and `Path` parameters (#3144) 4 years ago
Austin Orr e10a4375f9
Add support for adding multiple examples in request bodies and path, query, cookie, and header params (#1267) 5 years ago
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 6 years ago
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 6 years ago
Sebastián Ramírez bff5dbbf5d
Implement dependency value cache per request (#292) 7 years ago
Sebastián Ramírez ca27317b65
Add param functions, to override types, to make mypy happy (#226) 7 years ago