Adds option to specify swagger’s JSON url.
Adds option to specify swagger’s web interface url.
Base path isn’t needed anymore, because we aren’t modifying the UI’s source.
This doesn’t work with latest swagger UI. Also, people should be encouraged to update and build the swagger UI from source instead of relying on swagger-express to modify the default discovery URL.
Serves the swagger static assets from specified swaggerUI path.