Closed talnor closed 9 months ago
This is solved in #162 With
def create_api(app: FastAPI):
@app.get(app.root_path + "/openapi.json")
def custom_swagger_ui_html():
return app.openapi()
Per this issue: https://github.com/tiangolo/fastapi/issues/4211
API can't find its own open API file?