link
Convert path parameters
Accept file paths
@app.get("/files/{file_path:path}") def read_file(file_path: str): return {"file_path": file_path}