110 Commits (54feaad147aaf15be708cd9d75168adeaabf81a0)

Author SHA1 Message Date
Sebastián Ramírez d6db5d4f58
OpenAPI 3.1.0 with Pydantic v2, merge `master` (#9773) 2 years ago
Geoff Dworkin 8df86309c8
📝 Add notification message warning about old versions of FastAPI not supporting `Annotated` (#9298) 2 years ago
tim-habitat 08ba3a98a3
✏ Fix typo/bug in inline code example in `docs/en/docs/tutorial/query-params-str-validations.md` (#9273) 2 years ago
Aadarsha Shrestha 8ca7c5c29d
✏ Fix typo in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#9282) 2 years ago
dasstyxx 571b5c6f0c
✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380) 2 years ago
Sebastián Ramírez 0bc87ec77c
📝 Tweak tip recommending `Annotated` in docs (#9270) 2 years ago
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269) 2 years ago
Sebastián Ramírez 9eaed2eb37
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2 years ago
eykamp e570371003
✏ Fix formatting in `docs/en/docs/tutorial/metadata.md` for `ReDoc` (#6005) 2 years ago
Aayush Chhabra 4d099250f6
✏ Fix typo in `docs/en/docs/tutorial/bigger-applications.md`, "codes" to "code" (#5990) 2 years ago
Sebastián Ramírez fb8e9083f4
📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error (#5873) 2 years ago
Yurii Karabas d0573f5713
Add support for function return type annotations to declare the `response_model` (#1436) 2 years ago
Pax fc717f84ff
✏️ Clarify docs on CORS (#5627) 3 years ago
Sebastián Ramírez f92f87d379
📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras (#5628) 3 years ago
Vivek Ashokkumar d4e2bdb33a
✏ Fix typo in `docs/en/docs/tutorial/security/oauth2-jwt.md` (#5584) 3 years ago
feliciss 4a1c69e6c2
📝 Fix typo in docs with examples for Python 3.10 instead of 3.9 (#5545) 3 years ago
MendyLanda ae369d879a
📝 Add note about Python 3.10 `X | Y` operator in explanation about Response Models (#5307) 3 years ago
非法操作 d3ff7c620a
✏ Fix a small code highlight line error (#5256) 3 years ago
Sebastián Ramírez adf4e77dd6
📝 Add tip about using alias for form data fields (#5329) 3 years ago
Roy Hyunjin Han 8a72d363c8
✏ Fix typos in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#5142) 3 years ago
Pedro Augusto de Paula Barbosa 70213467a6
✏ Reword and clarify text in tutorial `docs/en/docs/tutorial/body-nested-models.md` (#5169) 3 years ago
Caleb Renfroe 438656395a
✏ Reword confusing sentence in docs file `typo-fix-path-params-numeric-validations.md` (#3219) 3 years ago
Sebastián Ramírez 1835b3f76d
📝 Update docs for testing, fix examples with relative imports (#5302) 3 years ago
Teofilo Zosa ea017c9919
📝 Add misc dependency installs to tutorial docs (#2126) 3 years ago
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 3 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
Michael Adkins 199916ac8c
📝 Add documentation for redefined path operations (#4864) 3 years ago
Sebastián Ramírez 3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass (#4888) 3 years ago
Matthew Evans 4fcdb31947
📝 Add OpenAPI warning to "Body - Fields" docs with extra schema extensions (#4846) 3 years ago
Samuel Borges 441f75a06c
📝 Updates links for Celery documentation (#4736) 3 years ago
Kinuax cb5a200a7c
✏ Fix links to Pydantic docs (#4670) 3 years ago
Kiko Ilievski 6337186ff4
✏ Fix small typo in `docs/en/docs/tutorial/security/first-steps.md` (#4515) 3 years ago
Rob Gilton 1233a7d93b
✏ Reword to improve legibility of docs about `TestClient` (#4389) 3 years ago
William Poetra Yoga b017a33ebd
✏ Fix typo in `docs/en/docs/tutorial/sql-databases.md` (#4875) 3 years ago
Sarmast Bilawal Khuhro aec2d26bac
✏ Reword sentence about handling errors (#1993) 3 years ago
Sebastián Ramírez 9d56a3cb59
Update internal `AsyncExitStack` to fix context for dependencies with `yield` (#4575) 3 years ago
Sebastián Ramírez f8d4d04015
📝 Tweak and improve docs for Request Files (#4470) 3 years ago
Sebastián Ramírez 1bf55200a9
Add support for declaring `UploadFile` parameters without explicit `File()` (#4469) 3 years ago
Sebastián Ramírez 569afb4378
Add support for tags with Enums (#4468) 3 years ago
Mark ca5d57ea79
Allow hiding from OpenAPI (and Swagger UI) `Query`, `Cookie`, `Header`, and `Path` parameters (#3144) 3 years ago
Sebastián Ramírez d08a062ee2
Add docs and tests for Python 3.9 and Python 3.10 (#3712) 3 years ago
weekwith.me 0a61a6c865
📝 Update `docs/tutorial/dependencies/classes-as-dependencies`: Add type of query parameters in a description of `Classes as dependencies` (#4015) 4 years ago
tomwei7 c54fb7e208
📝 Update docs with pip install calls when using extras with brackets, use quotes for compatibility with Zsh (#3131) 4 years ago
Jorge Alvarado e43f434448
✏️ Add a missing comma in the security tutorial (#3564) 4 years ago
Denys Marichev 7efdc11075
✏ Fix typo about file path in `docs/en/docs/tutorial/bigger-applications.md` (#3285) 4 years ago
Bharat Raghunathan d06b4d7bb8
✏ Re-word to clarify test client in `docs/en/docs/tutorial/testing.md` (#3382) 4 years ago
Pax 4f168c5ada
📝 Fix incorrect highlighted code (#3325) 4 years ago
Greg Gandenberger afe1f69e79
📝 Remove note about (now supported) feature from Swagger UI in `docs/en/docs/tutorial/request-files.md` (#2803) 4 years ago
graue70 17f0ec8927
✏ Fix typo re-word in `docs/tutorial/handling-errors.md` (#2700) 4 years ago
Thomas Grainger 11d0a08acd
Add support for Trio via AnyIO (#3372) 4 years ago