We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75f8d8 commit 2a82d5eCopy full SHA for 2a82d5e
red_utils/fastapi_utils/operations.py
@@ -44,7 +44,7 @@ def fix_api_docs(app: FastAPI = None):
44
f"Invalid type for FastAPI app: ({type(app)}). Value must be of type FastAPI."
45
)
46
47
- @app.get(app.root_path + "/openapi.json")
+ @app.get(app.root_path + "/openapi.json", include_in_schema=False)
48
def custom_swagger_ui_html():
49
return app.openapi()
50
0 commit comments