Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIDocs - basePath broken? #3

Closed
chrisv opened this issue Jun 27, 2014 · 0 comments
Closed

APIDocs - basePath broken? #3

chrisv opened this issue Jun 27, 2014 · 0 comments
Assignees
Labels

Comments

@chrisv
Copy link

chrisv commented Jun 27, 2014

I just upgraded from 0.26 and now basePath doesn't get rid of the "api-docs/" anymore and stays empty (see line 114 in APIDocs.pm).
This breaks SwaggerUI-compatible doc system (like wordnik) and all routs are now just appended after "api-docs/".

basePath should be (like it used to be) the request url minus the "api-docs/"

I edited line 114 in APIDocs.pm and hardcoded the $base_path but that works only because I have only 1 Raisin API running on my perl.

Please fix asap.

@khrt khrt added the bug label Jun 27, 2014
@khrt khrt closed this as completed in 7813554 Jun 27, 2014
@khrt khrt self-assigned this Jul 18, 2014
@khrt khrt assigned khrt and unassigned khrt Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants