Fix swagger-ui for instances with relative URL
Fixes #388351 (closed)
What does this MR do and why?
OpenAPI viewer doesn't consider instances with relative url, so this MR fixes that issue.
Screenshots or screen recordings
How to set up and validate locally
- Configure relative url for your GDK instance (
gdk.yml
)
hostname: gdk.test
relative_url_root: /rel
gdk restart
- Visit
gdk.test:3000/rel
and configure .yml
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dheeraj Joshi