No Swagger HTTPS scheme

We have installed a certificate, set up bindings for https and set HTTP to redirect to HTTPS.
However when we use the swaggerui the only scheme available is HTTP.

How do we make add the HTTPS scheme?

We are using v2021.2 build 7808

Hi infrastructure3,

Thank you for reaching out to us with your query.

I believe that Swagger should show HTTPS as a scheme option when accessed using HTTPS. Can you please confirm that when you access Swagger your browser confirms that it is over HTTPS?

The HTTP/HTTPS schemes should be identical. However, if you’d like to view Swagger with the HTTPS scheme in the meantime you can do so using this installation of Swagger on our demo instance.

I hope this is helpful. Please let me know if you have any questions.

Best Regards,

Charles