weixin_39860757的博客项目B,在局域网上那台linux机器运行,swagger没问题,但是在本地IDEA上运行,swagger页面打开状况如下:A和B用的2.9.2,都是springboot项目,配置都是一样的@Configuration@EnableSwagger2public class ...
HumorChen99的博客Swagger配置类 @Configuration public class SwaggerConfig implements WebMvcConfigurer { @Bean public Docket createRestApi() { return new Docket(DocumentationType.SWAGGER_2).apiInfo(getApiInfo())....