mirror of
https://github.com/fastapi/fastapi.git
synced 2026-03-31 05:05:53 -04:00
🎨 Fix default value as set in tutorial for Path Operations Advanced Configurations (#4899)
This commit is contained in:
committed by
GitHub
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")
|
||||
|
||||
Reference in New Issue
Block a user