Addresses issue #44. If swagger.api.host is set, use that for "host" in swagger.json instead of requestHeader.host . This is useful if running swagger behind a reverse proxy and control over the generated urls is desired in swagger-ui.
Without this PR, the "host" attribute of swagger.json is the host:port of the webserver (e.g. 127.0.0.1:9000).
Addresses issue #44. If swagger.api.host is set, use that for "host" in swagger.json instead of requestHeader.host . This is useful if running swagger behind a reverse proxy and control over the generated urls is desired in swagger-ui.
Without this PR, the "host" attribute of swagger.json is the host:port of the webserver (e.g. 127.0.0.1:9000).