ui.run_with: Inherit parent app's docs/redoc/openapi.json settings #1746
ProbablyBrian
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
Hi @ProbablyBrian!
Not that I'm aware of. But I haven't worked with FastAPI's docs pages lately. Maybe there is a way to workaround this issue. Apart from that, I wonder how this relates to #1188 and #1196. Does #1196 only solve part of the problem because it allows controlling the OpenAPI routes, but not docs and redoc? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Take this example:
This properly hides the /docs, /redoc, and /openapi.json schema pages when running the app. Using this same configuration within ui.run_with places nicegui's docs and API schema at the default /docs, /redoc, and /openapi.json locations.
I'd like to have a bit more control over where and what docs are displayed to either modify or hide these settings for the entire application (including those provided by the mounted NiceGUI app).
Is there a way to do this currently?
Beta Was this translation helpful? Give feedback.
All reactions