swagger-cli
swagger-cli copied to clipboard
Feature: find/replace values during bundle
trafficstars
A nice to have feature would be the ability to find and replace values during the bundling process. The one that comes up the most frequently is the application's "host" parameter. E.g. it is handy to replace the given value while working on a dev environment. This could be as lightweight as a command-line option (e.g. --host dev.mysite.com), or it could go as far as to look to environment variables to replace any number of strings.
Did you ever find a solution for this?
No, I just sorta wrote my own wrappers to accomplish it. 🤷