Skip to content

Cannot try/execute endpoints within the swagger GUI when exposing it under a different path prefix via a reverse-proxy #104

Open
@mgoltzsche

Description

@mgoltzsche

When exposing the swagger GUI under a path prefix using a reverse-proxy that sends the X-Forwarded-Prefix HTTP request header (which is already honoured when building the redirect URL) one cannot try/execute the endpoints since the reverse-proxy-defined path prefix is not honoured by the GUI.

A potential solution could be to replace the base URL within the served swagger doc.json on a per-request basis so that the JS logic within the GUI knows about it.

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