I’m using springfox-swagger-ui and for whatever reason, only https scheme is available on the dropdown, even if I reach swagger ui through http. I can’t use https for the moment, so need that scheme enabled but couldn’t find anything on the documentation. Any idea why is this happening?
Advertisement
Answer
Add these following lines to your yaml
page:
JavaScript
x
schemes:
- "https"
- "http"