mirror of https://github.com/tiangolo/fastapi.git
🎨 Fix default value as set in tutorial for Path Operations Advanced Configurations (#4899)
This commit is contained in:
parent
975d859ac4
commit
8b66b9ca3e
|
|
@ -11,7 +11,7 @@ class Item(BaseModel):
|
|||
description: Optional[str] = None
|
||||
price: float
|
||||
tax: Optional[float] = None
|
||||
tags: Set[str] = []
|
||||
tags: Set[str] = set()
|
||||
|
||||
|
||||
@app.post("/items/", response_model=Item, summary="Create an item")
|
||||
|
|
|
|||
Loading…
Reference in New Issue