pyeve / eve-swagger

Swagger extension for Eve-powered RESTful APIs
http://python-eve.org
Other
154 stars 43 forks source link

prepend url_prefix to spec_url #112

Closed javierdvalle closed 4 years ago

javierdvalle commented 4 years ago

When using a non-empty url_prefix, the url_prefix should be added also to the spec_url:

spec_url = <url_prefix>/api-docs

Otherwise, /docs will try to fetch the json from /api-docs which now returns 404

nicolaiarocci commented 4 years ago

thanks.