From: Yurii Motov Date: Thu, 9 Jul 2026 20:55:33 +0000 (+0200) Subject: Fix 404 exclude_defaults and exclude_none X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbfe009803fc2fdc13ade06dc8a9d24f5249f399;p=thirdparty%2Ffastapi%2Ffastapi.git Fix 404 exclude_defaults and exclude_none --- diff --git a/docs/en/docs/tutorial/response-model.md b/docs/en/docs/tutorial/response-model.md index ae93eece67..3c657b973d 100644 --- a/docs/en/docs/tutorial/response-model.md +++ b/docs/en/docs/tutorial/response-model.md @@ -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`. ///