@Bean
    public Docket createRestApi(){
        return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo())
                .select()
                .apis(RequestHandlerSelectors.any())
                .paths(PathSelectors.any()).build()
                .ignoredParameterTypes(UserInfo.class, HttpSession.class);//在此忽略参数的class
    }

相关文章:

  • 2021-06-05
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-10-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案