ENV[SWAGGER_BASE_PATH]

Allow tokens like ENV[SWAGGER_BASE_PATH] in the swagger JSON files to be replaced dynamically using environment variables.
https://www.pivotaltracker.com/story/show/79888872
Maybe put this line in its own method for clarity?