93 Commits (0.109.1)

Author SHA1 Message Date
Ezzeddin Abdullah 0c796747a3
📝 Update template docs with more info about `url_for` (#5937) 1 year ago
Piotr Szaciłowski fd97e8efe4
📝 Update usage of Token model in security docs (#9313) 1 year ago
Nils Lindemann 69cb005f61
📝 Replace `email` with `username` in `docs_src/security/tutorial007` code examples (#10649) 1 year ago
Aliaksei Urbanski 07f8d31ec9
Add support for Python 3.12 (#10666) 1 year ago
Tristan Marion a1ea708044
📝 Replace HTTP code returned in case of existing user error in docs for testing (#4482) 1 year ago
Moustapha Sall 4491ea6882
📝 Update example source files for SQL databases with SQLAlchemy (#9508) 1 year ago
Andrey Otto e9ffa20c8e
📝 Update code examples in docs for body, replace name `create_item` with `update_item` when appropriate (#5913) 1 year ago
Sebastián Ramírez dd790c34ff
✏️ Fix typo in dependencies with yield source examples (#10847) 1 year ago
Sebastián Ramírez c55f90df32
⬆️ Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and usage of templates with new Starlette arguments (#10846) 1 year ago
Alejandra 505ae06c0b
📝 Add docs: Node.js script alternative to update OpenAPI for generated clients (#10845) 1 year ago
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 1 year ago
Alejandra Klachquin 758a8f29e1
📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashing it in 5.9.1 (#10529) 1 year ago
Sebastián Ramírez 2e14c69c31
👷 Adopt Ruff format (#10517) 1 year ago
Heinz-Alexander Fuetterer ae84ff6e44
✏️ Fix typos in emoji docs and in some source examples (#10438) 1 year ago
Rahul Salgare 0242ca7566
✏️ Fix Pydantic examples in tutorial for Python types (#9961) 2 years ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 2 years ago
Sebastián Ramírez ea43f227e5
Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145) 2 years ago
Sebastián Ramírez 8cd7cfc2b6
📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 4d83f984cc
📝 Update source examples to use new JSON Schema examples field (#9776) 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Harsha Laxman 2cef119cd7
📝 Use in memory database for testing SQL in docs (#1223) 2 years ago
Samuel Colvin 5100a98ccd
🐛 Fix `flask.escape` warning for internal tests (#9468) 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
Nadav Zingerman 375513f114
Add support for PEP-593 `Annotated` for specifying dependencies and parameters (#4871) 2 years ago
pre-commit-ci[bot] f04b61bd16
⬆ [pre-commit.ci] pre-commit autoupdate (#5709) 2 years ago
Jordan Speicher cc9a73c3f8
Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944) 2 years ago
Marcelo Trylesinski 9293795e99
⬆️ Bump Starlette from 0.22.0 to 0.23.0 (#5739) 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
Sebastián Ramírez fa74093440
Use Ruff for linting (#5630) 2 years ago
Sebastián Ramírez d537ee93d7
Re-export Starlette's `WebSocketException` and add it to docs (#5629) 2 years ago
Ben Falk a71077c530
📝 Update docs for `ORJSONResponse` with details about improving performance (#2615) 3 years ago
Sebastián Ramírez 356a57daa8
📝 Add docs for creating a custom Response class (#5331) 3 years ago
Adrian Garcia Badaracco dde140d8e3
📝 Simplify example for docs for Additional Responses, remove unnecessary `else` (#4693) 3 years ago
Micael Jarniac e3c055ba8f
📝 Update docs, compare enums with identity instead of equality (#4905) 3 years ago
Kevin Tewouda 8c6ad35615
📝 Update docs for handling HTTP Basic Auth with `secrets.compare_digest()` to account for non-ASCII characters (#3536) 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
Sebastián Ramírez 8b66b9ca3e
🎨 Fix default value as set in tutorial for Path Operations Advanced Configurations (#4899) 3 years ago
Michael Adkins 199916ac8c
📝 Add documentation for redefined path operations (#4864) 3 years ago
hitrust 99a41e7f8d
✏ Fix example code with sets in tutorial for body nested models (#3030) 3 years ago
Sebastián Ramírez 8a0d4c79c1
Add support for custom `generate_unique_id_function` and docs for generating clients (#4650) 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
John Riebold a85aa125d2
Enable configuring Swagger UI parameters (#2568) 3 years ago
Sebastián Ramírez 7fe79441c1
📝 Update Python Types docs, add missing 3.6 / 3.9 example (#4434) 3 years ago
Sebastián Ramírez d08a062ee2
Add docs and tests for Python 3.9 and Python 3.10 (#3712) 3 years ago
Thomas Grainger 11d0a08acd
Add support for Trio via AnyIO (#3372) 4 years ago