小编jz1*_*z15的帖子

Springfox Swagger 使用端口 80 为 HTTPS URLS 生成请求

我在使用 springfox-swagger2 v2.2.0 时遇到与 HTTP URL 的请求填充端口 80 相关的问题。

无论如何,是否可以基于 Spring Profile 以编程方式禁用端口的生成或将端口设置为 443?

生成的卷曲:

curl -X GET --header "Accept: application/json" " https://test.com:80/api/users/search "

swagger springfox

7
推荐指数
1
解决办法
3344
查看次数

标签 统计

springfox ×1

swagger ×1