396 Commits (e99974546e07ed5ffab5f2fc34609950786fec11)

Author SHA1 Message Date
Sebastián Ramírez d645aa37fe 🚨 Fix typing imports 10 months ago
Sebastián Ramírez 1bfb11d0d4 Add and update tests 10 months ago
Sebastián Ramírez 50fb38d20e Update tests 10 months ago
Sebastián Ramírez 637193c92b Update tests with new logic, dependencies are run again after integrated background tasks 10 months ago
Sebastián Ramírez 054139d15c Add tests for dependency with yield catching exceptions and re-raising 10 months ago
Sebastián Ramírez 22ea2a59fc 🚚 Rename test for dependency with yield raising HTTPException 10 months ago
Sebastián Ramírez dfbfbabb6a Tweak test for dependencies with yield and streaming 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 3652d7dc83 ️ Restore the parts from master that should stay the same 11 months ago
Sebastián Ramírez adf21d3f23 ↩️ Revert " Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)" 11 months ago
Sebastián Ramírez 1e71e31fd6 🧪 Add test for dependencies with yield with streaming 11 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) 1 year 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
Motov Yurii 535d5b3f9f
🐛 Fix truncating the model's description with form feed (`\f`) character for Pydantic V2 (#13698) 1 year ago
Joakim Nordling 8fa56b46a1
⬆️ Update ReDoc to version 2.x (#9700) 1 year ago
Frank Hoffmann ea42ebda80
Use `inline-snapshot` to support different Pydantic versions in the test suite (#12534) 1 year ago
Sebastián Ramírez 2537d9d1c2
🐛 Fix `convert_underscores=False` for header Pydantic models (#13515) 1 year ago
dependabot[bot] 8c94e97c89
⬆ Bump ruff to 0.9.4 (#13299) 1 year ago
Sebastián Ramírez 74fe89bf35
🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 (#13442) 1 year ago
Victorien 15dd2b67d3
♻️ Update internal annotation usage for compatibilty with Pydantic 2.11 (#13314) 1 year ago
alv2017 7eabff43de
Fix a minor bug in the test `tests/test_modules_same_name_body/test_main.py` (#13411) 1 year ago
Arthur Rio ccc7c8fef9
🐛 Ensure that `HTTPDigest` only raises an exception when `auto_error is True` (#2939) 1 year ago
Hyogeun Oh (오효근) e157cf4b96
🐛 Fix issue with Swagger theme change example in the official tutorial (#13289) 1 year ago
alv2017 5451d05bc8
Simplify tests for `query_params_str_validations` (#13218) 1 year ago
alv2017 f6872dd298
Simplify tests for `app_testing` (#13220) 1 year ago
alv2017 1e6d95ce6d
Simplify tests for `dependency_testing` (#13223) 1 year ago
Rahul Pai d5ecbaceae
🐛 Fix `OAuth2PasswordRequestForm` and `OAuth2PasswordRequestFormStrict` fixed `grant_type` "password" RegEx (#9783) 2 years ago
Alejandra c5b5af7c53
Simplify tests for request_files (#13182) 2 years ago
Alejandra 280fe73c03
Simplify tests for websockets (#13202) 2 years ago
Alejandra 182c28e57a
Simplify tests for request_form_models (#13183) 2 years ago
Alejandra 39698df806
Simplify tests for separate_openapi_schemas (#13201) 2 years ago
Alejandra 2007993433
Simplify tests for security (#13200) 2 years ago
Alejandra 3e12918325
Simplify tests for schema_extra_example (#13197) 2 years ago
Alejandra 081901cc99
Simplify tests for request_model (#13195) 2 years ago
Alejandra d309c9e140
Simplify tests for request_forms_and_files (#13185) 2 years ago