提交 a3efa784 authored 作者: LJJ's avatar LJJ

修改请求为https

上级 60abb42a
...@@ -27,7 +27,7 @@ public class Swagger2Config { ...@@ -27,7 +27,7 @@ public class Swagger2Config {
return new Docket(DocumentationType.SWAGGER_2) return new Docket(DocumentationType.SWAGGER_2)
.produces(Sets.newHashSet("application/json")) .produces(Sets.newHashSet("application/json"))
.consumes(Sets.newHashSet("application/json")) .consumes(Sets.newHashSet("application/json"))
.protocols(Sets.newHashSet("http")) .protocols(Sets.newHashSet("http","https"))
.apiInfo(apiInfo()) .apiInfo(apiInfo())
.forCodeGeneration(true) .forCodeGeneration(true)
.useDefaultResponseMessages(true) .useDefaultResponseMessages(true)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论