Skip to content

Swagger routes not respecting SCRIPT_NAME #124

Open
@revmischa

Description

@revmischa

If my application is deployed under a path, i.e. http://foo.com/prefix/swagger/, then the swagger definitions all still return absolute paths from foo.com, not foo.com/prefix. APISpec should respect the SCRIPT_NAME wsgi environ if it's set and prepend it to the paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions