servering openapi after context root
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
servering openapi after context root
Hi,
I am working on Microprofile application where I am using the openapi feature.
but the problem here is I am not able to add my context root to openapi pages
it is always like https://host:port/openapi/ui
but I want is https://host:port/context-root/openapi/ui
what configuration do I need to do here so that my issue will get resolved
- Labels:
-
Swagger UI
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Gajanan999
I'm not sure what config options MicroProfile - OpenAPI has to change the location that swagger-ui is hosted on. Perhaps https://github.com/eclipse/microprofile-open-api/wiki/Configuration-Samples can act as a starting point. The best is to ask the question by raising an issue on that GitHub repo. If you do, it would be great if you could link that issue on this thread so people can find out. Thanks!
