📝 Clarify function name in example (#1121)

This commit is contained in:
Tomoya Yoshioka
2020-03-28 01:15:26 +09:00
committed by GitHub
parent 38fd8a674b
commit 15241b53a8
2 changed files with 3 additions and 3 deletions

View File

@@ -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}