-
Notifications
You must be signed in to change notification settings - Fork 760
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
Absolute path calculated not correctly in swagger.js #84
Comments
I'm a tiny bit lost (probably not enough sleep)--do you have a server up and running with a relative base path that I can look at? |
I haven't but i can provide some output, maybe that will help. Next gist https://gist.github.com/Novarg/9378144 contain entity resource description: With current implementation if i try to get some data from that entity resource (by clickint 'try it out!' button) swagger ui try to fetch the following url Such url build function is Or i just wrongly interpreting |
closing as #92 was merged. |
Moved this issue into right place.
Abs path in
getAbsoluteBasePath
fromswagger.js
calculated not correctly in case whenrelativeBasePath
is/
. Currently it returns whole url except slash itself. When the basePath is/
then we should treat url as<proto>://<domain>
(root of the domain path). Check the patch to see what i mean.The text was updated successfully, but these errors were encountered: