Skip to content

Fix swagger-ui for instances with relative URL

Dheeraj Joshi requested to merge djadmin-fix-openapi-relative-path-instance into master

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

  1. Configure relative url for your GDK instance (gdk.yml)
hostname: gdk.test
relative_url_root: /rel
  1. gdk restart
  2. 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.

Edited by Dheeraj Joshi

Merge request reports