]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
Fix 404 exclude_defaults and exclude_none
authorYurii Motov <yurii.motov.monte@gmail.com>
Thu, 9 Jul 2026 20:55:33 +0000 (22:55 +0200)
committerYurii Motov <yurii.motov.monte@gmail.com>
Thu, 9 Jul 2026 20:55:33 +0000 (22:55 +0200)
docs/en/docs/tutorial/response-model.md

index ae93eece673b6c67f76d0d07e61785f2528193bf..3c657b973df3006b8f07e8bf2e12330976c81f3e 100644 (file)
@@ -258,7 +258,7 @@ You can also use:
 * `response_model_exclude_defaults=True`
 * `response_model_exclude_none=True`
 
-as described in [the Pydantic docs](https://docs.pydantic.dev/1.10/usage/exporting_models/#modeldict) for `exclude_defaults` and `exclude_none`.
+as described in [the Pydantic docs](https://pydantic.dev/docs/validation/latest/concepts/serialization/#excluding-and-including-fields-based-on-their-value) for `exclude_defaults` and `exclude_none`.
 
 ///