Swagger to support hosting in IIS Application

Just made the same change to SwaggerApiService.cs

I have a service running from an IIS Application (e.g. http://localhost/myservice).  When I open http://localhost/myservice/resources the BasePath would be set to http://localhost.

If I change SwaggerResourcesService.cs to use GetParentPathUrl() for the BasePath then both scenarios seem to work (e.g. http://localhost:2001 or http://localhost/myservice).

Aologies for lack of unit test but I could not see any unit tests aready existing for Swagger implementation.

If I have musunderstood something here let me know.