Skip to content

Links are not relative, cause bad navigation #2286

@kyeotic

Description

@kyeotic

I am using swagger ui v2.1.4.

I am rendering on a non-root page site.com/api/myApi. The Swagger docs endpoints that get rendered are all links, and they point to the root site with a hash site.com/#!/default/get_v1_apis. Clicking any of these inputs causes the browser to navigate back to the home page.

How do I get these links to be relative to the page they are on?
Or, is there a way to disable the hash navigation and not update the URL at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions