bravado
bravado copied to clipboard
How to specify basepath when loading swagger.json from_url?
Looks like you used to be able to configure the swagger basepath, using api_base_path
in the following: https://github.com/Yelp/bravado/pull/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
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.