I have a Web API hosted on Pivotal Cloud foundry; which includes the Swagger Documentation for it.
However whenever I am trying to test any API endpoint, Swagger puts in the request URL a port number :port after the host, and this is preventing the connection to be made to the API endpoint and thus no data is returned. For some reason, APIs hosted on pivotal are not comfortable with port number; instead just the route url seems to work fine.
I am hosting a ASP.NET Web API and using Swashbuckle Swagger Nuget Package for generating the documentation.
Is there any way to force Swagger to remove the port number when it sends the api request?
