jmcarp / jmcarp/flask-apispec

Swagger routes not respecting SCRIPT_NAME

Open
#124 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
652
Forks
151
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.