From cc69559b9fc79a6100f8984cbae6346cfd0aef5a Mon Sep 17 00:00:00 2001 From: sanjibani <18418553+sanjibani@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:33:47 +0530 Subject: [PATCH] docs: fix dead pydantic v1 link in tutorial/response-model.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `https://docs.pydantic.dev/1.10/usage/exporting_models/#modeldict` (404) — the pydantic v1 docs site (docs.pydantic.dev/1.10/) was retired after the v2 docs migration. Replaced with `https://docs.pydantic.dev/latest/concepts/serialization/#model-dict` (200) — the current canonical home for the equivalent concept in pydantic v2. Also updated the anchor from `#modeldict` to `#model-dict` (v2 docs use hyphenated heading slugs). --- docs/en/docs/tutorial/response-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/tutorial/response-model.md b/docs/en/docs/tutorial/response-model.md index ae93eece6..e11a7002e 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://docs.pydantic.dev/latest/concepts/serialization/#model-dict) for `exclude_defaults` and `exclude_none`. ///