From 6b2f87231612ff13fdeb8b893c1781e0c484c3f6 Mon Sep 17 00:00:00 2001 From: Alberto Zambrano Zarallo <123561034+azamzar@users.noreply.github.com> Date: Fri, 13 Feb 2026 18:18:13 +0100 Subject: [PATCH] Apply suggestion from @YuriiMotov Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> --- docs/en/docs/tutorial/body.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/tutorial/body.md b/docs/en/docs/tutorial/body.md index f7c2ae304..72ec94fe6 100644 --- a/docs/en/docs/tutorial/body.md +++ b/docs/en/docs/tutorial/body.md @@ -76,7 +76,7 @@ In this example: ```python class Item(BaseModel): - description: Optional[str] = None + description: str | None = None ``` Here, `description` can be omitted entirely in the request body.