-
Notifications
You must be signed in to change notification settings - Fork 9k
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 #415
Comments
I hate to bounce this around, but it really belongs here: https://github.com/wordnik/swagger-js Swagger-js is included with swagger-ui via pacakge.json |
This was referenced Sep 24, 2020
This was referenced Apr 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: