mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-13 11:33:45 -04:00
📝 Clarify function name in example (#1121)
This commit is contained in:
@@ -4,5 +4,5 @@ app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/files/{file_path:path}")
|
||||
async def read_user_me(file_path: str):
|
||||
async def read_file(file_path: str):
|
||||
return {"file_path": file_path}
|
||||
|
||||
Reference in New Issue
Block a user