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

How to specify basepath when loading swagger.json from_url? #345

Open
jones77 opened this issue Jan 18, 2018 · 1 comment
Open

How to specify basepath when loading swagger.json from_url? #345

jones77 opened this issue Jan 18, 2018 · 1 comment

Comments

@jones77
Copy link

jones77 commented Jan 18, 2018

Looks like you used to be able to configure the swagger basepath, using api_base_path in the following: #86

But looks like this got removed. I can see base_path in https://github.com/Yelp/bravado/blob/master/bravado/swagger_model.py (with some "what's this?"-style TODOs) but it's unclear how to invoke it from https://github.com/Yelp/bravado/blob/master/bravado/client.py

@kmsquire
Copy link

kmsquire commented Jun 6, 2018

I also ran into this issue. In my case, I got around it by downloading and modifying the swagger spec file (injecting the new/proper host name), but I would love for this part of the API to be re-enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants