I have an API exposed on custom ports:
http://server:8000/api
https://server:8443/api
 
When I test the API with https://editor.swagger.io, I can switch the protocol from HTTP to HTTPS on the page, but because the port is entered only once with the host together and used for both schemes, I cannot actually send the request to the correct HTTPS endpoint:
host: server:8000
basePath: /api
schemes:
  - http
  - https
 
Why not adding an additional property configuring the HTTP and HTTPS ports?