Apply suggestion from @YuriiMotov

Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
This commit is contained in:
Alberto Zambrano Zarallo 2026-02-13 18:18:13 +01:00 committed by GitHub
parent feba7b1cb4
commit 6b2f872316
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.