bravado icon indicating copy to clipboard operation
bravado copied to clipboard

How to specify basepath when loading swagger.json from_url?

Open jones77 opened this issue 7 years ago • 1 comments

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

jones77 avatar Jan 18 '18 19:01 jones77

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.

kmsquire avatar Jun 06 '18 17:06 kmsquire