..
additional_responses
📝 Simplify example for docs for Additional Responses, remove unnecessary `else` (#4693)
4 years ago
additional_status_codes
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
advanced_middleware
📝 Add missing `compresslevel` parameter on docs for `GZipMiddleware` (#11350)
2 years ago
app_testing
📝 Update testing events documentation (#13259)
9 months ago
async_tests
📝 Fix async test example not to trigger DeprecationWarning (#12084)
2 years ago
background_tasks
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
behind_a_proxy
📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028)
9 months ago
bigger_applications
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
body
📝 Update Request Body's `tutorial002` to deal with `tax=0` case (#13230)
1 year ago
body_fields
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
body_multiple_params
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
body_nested_models
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
body_updates
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
conditional_openapi
✨ Add support for Pydantic v2 (#9816)
3 years ago
configure_swagger_ui
🐛 Fix issue with Swagger theme change example in the official tutorial (#13289)
1 year ago
cookie_param_models
✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199)
2 years ago
cookie_params
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
cors
✨ Add support for docs translations (#1168)
6 years ago
custom_docs_ui
⬆️ Update ReDoc to version 2.x (#9700)
1 year ago
custom_request_and_route
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
custom_response
📝 Update links to Pydantic docs to point to new website (#11328)
2 years ago
dataclasses
✏️ Fix typos in docs (#11926)
2 years ago
debugging
✨ Add support for docs translations (#1168)
6 years ago
dependencies
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
7 months ago
dependency_testing
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
encoder
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
events
✨ Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944)
3 years ago
extending_openapi
📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114)
3 years ago
extra_data_types
📝 Fix types in examples under `docs_src/extra_data_types` (#10535)
2 years ago
extra_models
✨ Add support for Pydantic v2 (#9816)
3 years ago
first_steps
✨ Add support for docs translations (#1168)
6 years ago
generate_clients
🛠️ Improve Node.js script in docs to generate TypeScript clients (#11293)
2 years ago
graphql
✏️ Update Strawberry integration docs (#13155)
1 year ago
handling_errors
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
9 months ago
header_param_models
🐛 Fix `convert_underscores=False` for header Pydantic models (#13515)
1 year ago
header_params
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075)
2 years ago
metadata
✨ Add support for OpenAPI 3.1.0 (#9770)
3 years ago
middleware
edit middleware docs code sample to use perf_counter as a timer
2 years ago
openapi_callbacks
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
openapi_webhooks
✏️ Fix typos in emoji docs and in some source examples (#10438)
3 years ago
path_operation_advanced_configuration
✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461)
2 years ago
path_operation_configuration
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
path_params
📝 Update docs, compare enums with identity instead of equality (#4905)
4 years ago
path_params_numeric_validations
📝 Update `docs_src/path_params_numeric_validations/tutorial006.py` (#11478)
2 years ago
pydantic_v1_in_v2
✨ Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168)
8 months ago
python_types
✏️ Fix Pydantic examples in tutorial for Python types (#9961)
3 years ago
query_param_models
✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199)
2 years ago
query_params
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
query_params_str_validations
🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 (#13442)
1 year ago
request_files
📝 Add file upload validation and saving examples
7 months ago
request_form_models
✨ Add support for forbidding extra form fields with Pydantic models (#12134)
2 years ago
request_forms
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
request_forms_and_files
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
response_change_status_code
✨ Add support for docs translations (#1168)
6 years ago
response_cookies
✨ Add support for docs translations (#1168)
6 years ago
response_directly
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
response_headers
✨ Add support for docs translations (#1168)
6 years ago
response_model
📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error (#5873)
3 years ago
response_status_code
✨ Add support for docs translations (#1168)
6 years ago
schema_extra_example
📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md` (#12822)
2 years ago
security
📝 Update `tutorial/security/oauth2-jwt/` to use `pwdlib` with Argon2 instead of `passlib` (#13917)
8 months ago
separate_openapi_schemas
✨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145)
3 years ago
settings
👷 Adopt Ruff format (#10517)
3 years ago
sql_databases
✨ Add new tutorial for SQL databases with SQLModel (#12285)
2 years ago
static_files
✨ Add support for docs translations (#1168)
6 years ago
sub_applications
✨ Add support for ASGI root_path for openapi docs (#1199)
6 years ago
templates
📝 Update template docs with more info about `url_for` (#5937)
2 years ago
using_request_directly
✨ Add support for docs translations (#1168)
6 years ago
websockets
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
wsgi
🐛 Fix `flask.escape` warning for internal tests (#9468)
3 years ago