透過在創建App 時加上以下變數,可以關閉預設API 文件功能。 from fastapi import FastAPI app = FastAPI(docs_url=None, redoc_url=None, openapi_url = ...
確定! 回上一頁