Open wongelz opened 7 years ago
Agree, this property should be configurable. Currently, the generated swagger.json
file is missing the schemes
property so the Swagger UI defaults to the https
schema when executing the APIs and the user is unable to switch between http
and https
at all.
A temporary workaround is to append url=http://host/swagger.json
to the Swagger UI URL, it will force the UI to load the specified spec file and it will use the http
instead of https
scheme.
Perhaps swagger.api.schemes in application.conf