12 Commits (3fa58f5edb35a39a66251335273a44bac8d3361b)

Author SHA1 Message Date
Sebastián Ramírez 00e080ab42
Add new Pydantic Field param options to Query, Cookie, Body, etc. (#9797) 2 years ago
Sebastián Ramírez b892664f25
♻️ Deprecate parameter `regex`, use `pattern` instead (#9786) 2 years ago
Sebastián Ramírez d6db5d4f58
OpenAPI 3.1.0 with Pydantic v2, merge `master` (#9773) 2 years ago
Sebastián Ramírez bd32fecaf6
Pydantic v2 migration, initial implementation (#9500) 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) 5 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