... in a dict means FastAPI will return a JSON response. The way to return a file to download is to return the FileResponse object directly.
確定! 回上一頁