Browse Source

Apply suggestion from @YuriiMotov

Co-authored-by: Motov Yurii <[email protected]>
pull/14751/head
Alberto Zambrano Zarallo 5 months ago
committed by GitHub
parent
commit
6b2f872316
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/docs/tutorial/body.md

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

Loading…
Cancel
Save