mashery / iodocs

Interactive API documentation system
MIT License
1.89k stars 415 forks source link

Support for parameters in the base url #211

Closed pkandathil closed 9 years ago

pkandathil commented 9 years ago

Added for support for parameters in the base url. We share 1 dev environment across multiple developers http://.sandbox.domainname.com . It's easy to use 1 services explorer with parametrized queries to test all services.

phairow commented 9 years ago

this is a good feature request. I think the long term goal is to support full uri templates (https://tools.ietf.org/html/rfc6570). this type of path replace logic should work for both basePath and method path. We may want to do a minor refactor to push this logic fully client side to avoid running two sets of path replace logic but it's not completely necessary. I'll close this request but feel free to re-open if you want to tackle those changes. One more thing is that we should not checkin test api definitions to the core list so you should remove that from future requests. Thanks again for the request, this is an important feature.