From: Yurii Motov Date: Fri, 10 Jul 2026 16:23:05 +0000 (+0200) Subject: Fix pydantic unions section moved X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1dc83db0c1cdc8afbc5be6cdb85a3a1cccc414b6;p=thirdparty%2Ffastapi%2Ffastapi.git Fix pydantic unions section moved --- diff --git a/docs/en/docs/tutorial/extra-models.md b/docs/en/docs/tutorial/extra-models.md index 565c74fec5..b8332ff56a 100644 --- a/docs/en/docs/tutorial/extra-models.md +++ b/docs/en/docs/tutorial/extra-models.md @@ -166,7 +166,7 @@ To do that, use the standard Python type hint [`typing.Union`](https://docs.pyth /// note -When defining a [`Union`](https://pydantic.dev/docs/validation/latest/concepts/types/#unions), include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`. +When defining a [`Union`](https://pydantic.dev/docs/validation/latest/concepts/unions/), include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`. ///