Size
Eyes
Finish a part in any dojo to unlock the next eyes.
Working with long documents
1 / 11 · ≈ 9 min left
From yesterday. Answer from memory: a wrong guess still helps you remember.
Your class has quantity: int = pydantic.Field(ge=1). What does the API receive for quantity?
quantity: int = pydantic.Field(ge=1)
quantity
{"type": "integer", "minimum": 1}
{"type": "string", "format": "text"}
{"type": "integer", "title": "Quantity", "description": "{minimum: 1}"}
minimum