If the `schemes` parameter is configured (and not empty) for an API, Swagger UI picks the _first_ [1] [2] scheme value up for API requests. For example: ``` json { "swagger": "2.0", "schemes": [ "http", "https" ] } ``` As a consequence, _all_ requests will be made over HTTP. This cause "mixed content issues" when Swagger UI is served/hosted via HTTPS and yet makes regular HTTP requests, as explained above. [1] https://github.com/swagger-api/swagger-js/blob/master/lib/client.js#L274 [2] https://github.com/swagger-api/swagger-js/blob/master/lib/client.js#L290