swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

when host is set to "" it seems to use the current host but does not use the current port

Open paulhill opened this issue 12 years ago • 3 comments

seems to make calls sans the current port. Should keep the port ideally. I noticed this because we run dev instances on custom ports.

seems to make some assumptions based on the schemes and changes the port to 80 or 443 based on the scheme in the spec

paulhill avatar Oct 16 '14 23:10 paulhill

https://github.com/wordnik/swagger-js/pull/149

paulhill avatar Oct 17 '14 23:10 paulhill

Fixed as i have observed

sosoxuc avatar Oct 19 '14 06:10 sosoxuc

Looks to be fixed.

fehguy avatar Dec 29 '14 18:12 fehguy