一,swagger配置不应该加如下配置,默认请求地址是带上context-path的前缀

             .pathProvider(new RelativePathProvider(servletContext) {
                   @Override
                    public String getApplicationBasePath() {
                        return "/test";
                    }
               })  

 

相关文章:

  • 2021-06-16
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2022-01-10
  • 2021-10-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2021-04-10
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-11
相关资源
相似解决方案