내맘대로 Fastapi Document summary[4]
@app.get("/users/", tags=["users"] summary="Create an item", description="", response_description="" deprecated=True, ) async def read_users(): return [{"username": "johndoe"}] # tags, summary, description, response_description, deprecated 등은 docs swagger에 보여준다. # description이 너무 길 경우 @app.post("/items/", response_model=Item, summary="Create an item") async def create_item(item: Item): """ Creat..