417 Commits (a35fc493c50852656e70dd07fa06ba3bef03e84d)

Author SHA1 Message Date
Yurii Motov 525ad78695 Fix test coverage for `settings.app03` 8 months ago
Yurii Motov a884f81157 Fix test for `response-directly` with Pydantic v1 8 months ago
Yurii Motov 099878b3d8 Simplify tests for variants `websockets.tutorial003` 8 months ago
Yurii Motov f6bfde23c8 Add tests for `using_request_directly/tutorial001` 8 months ago
Yurii Motov c9cffa27de Add tests for variants of `settings/app3`, fix config and add pv1 version 8 months ago
Yurii Motov 14f2e2bddb Add tests for variants of `settings/app2` 8 months ago
Yurii Motov 63379de2d5 Add variants for `response-directly/tutorial001` 8 months ago
Yurii Motov 699cd287cb Add variants for `path-operation-advanced-configuration/tutorial007` 8 months ago
Yurii Motov 449c18e67e Add variants for `path-operation-advanced-configuration/tutorial007_pv1` 8 months ago
Yurii Motov f13f460d9b Add variants for `path-operation-advanced-configuration/tutorial004` 8 months ago
Yurii Motov c23c072572 Add variants for `openapi-callbacks/tutorial001` 8 months ago
Yurii Motov 998a92af97 Add variants for `dataclasses/tutorial003` 8 months ago
Yurii Motov ee37c69379 Add variants for `dataclasses/tutorial002` 8 months ago
Yurii Motov b841e9f807 Add variants for `dataclasses/tutorial001` 8 months ago
Yurii Motov 42e30173d3 Add variants for `additional_responses/tutorial004` 8 months ago
Yurii Motov c8a99a62a4 Add variants for `additional_responses/tutorial002` 8 months ago
Motov Yurii 51ad909ffe
🐛 Use `401` status code in security classes when credentials are missing (#13786) 8 months ago
Sebastián Ramírez 85701631a0
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts (#14372) 8 months ago
Edge-Seven df83eb7278
📝 Fix typos in code comments (#14364) 8 months ago
Sebastián Ramírez 5d40dfbc9b
🐛 Fix handling of JSON Schema attributes named "$ref" (#14349) 8 months ago
luzzodev 282f372eda
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies (#14301) 8 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) 9 months ago
Motov Yurii 496de1816a
🐛 Fix security schemes in OpenAPI when added at the top level app (#14266) 9 months ago
Sebastián Ramírez dcfb8b9dda
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself (#14256) 9 months ago
Sebastián Ramírez c144f9fbd3
♻️ Refactor internals of dependencies, simplify using dataclasses (#14254) 9 months ago
Sebastián Ramírez 6a657f360d
🐛 Fix separation of schemas with nested models introduced in 0.119.0 (#14246) 9 months ago
Sofie Van Landeghem d8c691f7f0
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186) 9 months ago
Sebastián Ramírez d34918abf0
Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168) 9 months ago
Sofie Van Landeghem 3611c3fc5b
⬆️ Add support for Python 3.14 (#14165) 9 months ago
François Voron 185cecd891
🐛 Fix tagged discriminated union not recognized as body field (#12942) 10 months ago
Colin Watson c970d8a735
👽️ Ensure compatibility with Pydantic 2.12.0 (#14036) 10 months ago
Sebastián Ramírez e329d78f86
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099) 10 months ago
Thomas LÉVEIL 44fc67632b
🐛 Fix validation error when `File` is declared after `Form` parameter (#11194) 10 months ago
vvanglro f1e6f978ce
️ Fix `default_factory` for response model field with Pydantic V1 (#9704) 10 months ago
Robert Hofer b51ec36f2e
Allow `None` as return type for bodiless responses (#9425) 10 months ago
Max McLennan 86e515784d
🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1 (#6039) 10 months ago
Salim Aboubacar 2dc769b121
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972) 10 months ago
sammasak 8ede27223e
Allow array values for OpenAPI schema `type` field (#13639) 10 months ago
rmawatson 9ac56c70f2
🐛 Reenable `allow_arbitrary_types` when only 1 argument is used on the API endpoint (#13694) 10 months ago
Carlos Mario Toro bc5013cd56
Add OpenAPI `external_docs` parameter to `FastAPI` (#13713) 10 months ago
Amogha Rao 5fef4d199b
Enable test case for duplicated headers in `test_tutorial/test_header_params/test_tutorial003.py` (#13864) 10 months ago
山崎ヒカル 11d424c3dc
Simplify tests for response_model (#14062) 10 months ago
Ben Beasley 7563579dc8
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077) 10 months ago
Sebastián Ramírez f5b77ff0fc
📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028) 11 months ago
z0z0r4 d4ddcc5878
📝 Update testing events documentation (#13259) 11 months ago
Chih-Hsuan Yen 54c7c34b25
⬆ Update httpx requirement to >=0.23.0,<0.29.0 (#13114) 12 months ago
Patrick Arminio 9d0d8828cc
🐛 Fix support for unions when using `Form` (#13827) 1 year ago
oogee 30b9dfb11c
🚸 Set format to password for fields `password` and `client_secret` in `OAuth2PasswordRequestForm`, make docs show password fields for passwords (#11032) 1 year ago
Valentyn 85a2eed888
Simplify tests for `settings` (#13505) 1 year ago
Valentyn da4605b039
Simplify tests for `validate_response_recursive` (#13507) 1 year ago