-
Hey, I currently use the SwaggerUI in an Maybe I did not catch it if / how this is possible, but apart from that, I would like to do some very custom authentication stuff and only serve the docs to authenticated users against the application itself when specific conditions are met, to not leak complete API docs to people who should not know about it. Is there a way to get a handle to the UI itself and serve the whole thing manually on a custom endpoint, and not use the auto-service impl for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry for the noise, I don't know why I did not see it earlier, but I found it: |
Beta Was this translation helpful? Give feedback.
Sorry for the noise, I don't know why I did not see it earlier, but I found it:
https://docs.rs/utoipa-swagger-ui/9.0.2/utoipa_swagger_ui/fn.serve.html