fastapi/docs_src
sneakers-the-rat 978351dbe6 Squashed commit of the following:
commit 1b8d0d73f8
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Wed Aug 20 03:24:25 2025 -0700

    ok but seriously

commit d3ccab4948
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Tue Aug 19 23:38:25 2025 -0700

    rm being able to determine the input format of a model

commit fec0a068ed
Merge: 3f2e0f57 cad08bbc
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Mon Apr 14 20:03:14 2025 -0700

    Merge branch 'form-defaults' of https://github.com/sneakers-the-rat/fastapi into form-defaults

commit 3f2e0f572f
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Mon Apr 14 20:01:50 2025 -0700

    lint

commit cad08bbc4d
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Tue Apr 15 02:47:42 2025 +0000

    🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

commit f63e983b60
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Mon Apr 14 19:46:34 2025 -0700

    docs for handling default values, pass field to validation context

commit 529d486a7b
Merge: a9acab81 159824ea
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:45:40 2025 -0800

    Merge branch 'form-defaults' of https://github.com/sneakers-the-rat/fastapi into form-defaults

commit a9acab81c4
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:42:38 2025 -0800

    lint

commit 159824ea93
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date:   Sun Mar 9 01:42:31 2025 +0000

    🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

commit e76184380d
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:42:21 2025 -0800

    pydantic v1 compat

commit 64f25284e8
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:38:03 2025 -0800

    fix handling form data with fields that are not annotated as Form()

commit 7fade13ac8
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:37:32 2025 -0800

    fix just the extra values problem (again, purposefully with failing tests to demonstrate the problem, fixing in next commit)

commit 49f6b8397d
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Sat Mar 8 17:36:03 2025 -0800

    add failing tests for empty input values to get a CI run baseline for them

commit 15eb6782dc
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Thu Mar 6 19:35:53 2025 -0800

    mypy lint

commit 1a58af44df
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Thu Mar 6 19:31:28 2025 -0800

    finish pydantic 1 compat

commit a2ad8b187f
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Thu Mar 6 19:22:11 2025 -0800

    python 3.8 and pydantic 1 compat

commit 76c4d317fd
Author: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Date:   Thu Mar 6 19:06:44 2025 -0800

    don't prefill defaults in form input
2025-10-30 17:34:43 +01:00
..
additional_responses 📝 Simplify example for docs for Additional Responses, remove unnecessary `else` (#4693) 2022-08-26 15:32:30 +02:00
additional_status_codes 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
advanced_middleware 📝 Add missing `compresslevel` parameter on docs for `GZipMiddleware` (#11350) 2024-08-15 17:38:02 -05:00
app_testing 📝 Update testing events documentation (#13259) 2025-08-31 10:29:21 +00:00
async_tests 📝 Fix async test example not to trigger DeprecationWarning (#12084) 2024-08-30 18:00:41 +02:00
background_tasks 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
behind_a_proxy 📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028) 2025-08-31 21:34:08 +02:00
bigger_applications 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
body 📝 Update Request Body's `tutorial002` to deal with `tax=0` case (#13230) 2025-01-30 12:19:10 +00:00
body_fields 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
body_multiple_params 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
body_nested_models 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
body_updates 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
conditional_openapi Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
configure_swagger_ui 🐛 Fix issue with Swagger theme change example in the official tutorial (#13289) 2025-02-18 17:52:15 +01:00
cookie_param_models Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199) 2024-09-17 20:54:10 +02:00
cookie_params 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
cors Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
custom_docs_ui ⬆️ Update ReDoc to version 2.x (#9700) 2025-04-28 20:31:44 +02:00
custom_request_and_route Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 2022-05-13 18:38:22 -05:00
custom_response 📝 Update links to Pydantic docs to point to new website (#11328) 2024-03-21 20:42:11 -05:00
dataclasses ✏️ Fix typos in docs (#11926) 2024-07-31 09:09:15 -05:00
debugging Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
dependencies ⬆️ Upgrade configuration for Ruff v0.2.0 (#11075) 2024-03-26 11:56:53 -05:00
dependency_testing 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
encoder 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
events Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944) 2023-03-07 16:46:00 +01:00
extending_openapi 📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114) 2023-08-19 21:54:04 +02:00
extra_data_types 📝 Fix types in examples under `docs_src/extra_data_types` (#10535) 2024-04-18 19:11:40 -05:00
extra_models Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
first_steps Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
generate_clients 🛠️ Improve Node.js script in docs to generate TypeScript clients (#11293) 2024-03-14 12:40:05 +01:00
graphql ✏️ Update Strawberry integration docs (#13155) 2025-01-06 11:24:17 +00:00
handling_errors ⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077) 2025-09-16 19:21:48 +02:00
header_param_models 🐛 Fix `convert_underscores=False` for header Pydantic models (#13515) 2025-03-23 21:48:54 +01:00
header_params ⬆️ Upgrade configuration for Ruff v0.2.0 (#11075) 2024-03-26 11:56:53 -05:00
metadata Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
middleware edit middleware docs code sample to use perf_counter as a timer 2024-08-06 14:46:39 +01:00
openapi_callbacks 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
openapi_webhooks ✏️ Fix typos in emoji docs and in some source examples (#10438) 2023-10-20 13:00:44 +04:00
path_operation_advanced_configuration Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
path_operation_configuration 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
path_params 📝 Update docs, compare enums with identity instead of equality (#4905) 2022-08-26 15:26:03 +02:00
path_params_numeric_validations 📝 Update `docs_src/path_params_numeric_validations/tutorial006.py` (#11478) 2024-08-28 18:39:15 -05:00
python_types ✏️ Fix Pydantic examples in tutorial for Python types (#9961) 2023-09-02 17:56:35 +02:00
query_param_models Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199) 2024-09-17 20:54:10 +02:00
query_params 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
query_params_str_validations 🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 (#13442) 2025-03-01 22:02:35 +00:00
request_files 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
request_form_models Squashed commit of the following: 2025-10-30 17:34:43 +01:00
request_forms 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
request_forms_and_files 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
response_change_status_code Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response_cookies Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response_directly 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
response_headers Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
response_model 📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error (#5873) 2023-01-10 16:22:47 +00:00
response_status_code Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
schema_extra_example 📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md` (#12822) 2024-11-09 16:00:17 +00:00
security 📝 Bring the `scope` claim in line with the standard in `docs_src/security/tutorial005.py` (#11189) 2025-08-31 12:03:10 +02:00
separate_openapi_schemas Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145) 2023-08-25 21:10:22 +02:00
settings 👷 Adopt Ruff format (#10517) 2023-10-25 00:26:06 +04:00
sql_databases Add new tutorial for SQL databases with SQLModel (#12285) 2024-10-09 21:44:42 +02:00
static_files Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
sub_applications Add support for ASGI root_path for openapi docs (#1199) 2020-06-11 23:53:19 +02:00
templates 📝 Update template docs with more info about `url_for` (#5937) 2024-01-11 23:25:37 +01:00
using_request_directly Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
websockets 📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2023-03-18 13:29:59 +01:00
wsgi 🐛 Fix `flask.escape` warning for internal tests (#9468) 2023-05-09 14:32:00 +00:00