Sync fastapi docs from 11614be9 on 2026-03-11
This commit is contained in:
@@ -12,6 +12,6 @@ class Item(BaseModel):
|
||||
tags: set[str] = set()
|
||||
|
||||
|
||||
@app.post("/items/", response_model=Item, status_code=status.HTTP_201_CREATED)
|
||||
async def create_item(item: Item):
|
||||
@app.post("/items/", status_code=status.HTTP_201_CREATED)
|
||||
async def create_item(item: Item) -> Item:
|
||||
return item
|
||||
|
||||
Reference in New Issue
Block a user