
Swagger
咬紧牙关i
这个作者很懒,什么都没留下…
展开
-
解决多模块下Swagger访问不了
解决多模块下Swagger访问页面出现 Could not render e, see the console.或者控制台出现reading ‘url’)在application.properties中加代码spring.mvc.pathmatch.matching-strategy=ant_path_matcher并且配置文件中的.enable()为.enablereturn new Docket(DocumentationType.SWAGGER_2) .apiInfo(apiI原创 2022-03-29 15:55:23 · 3613 阅读 · 0 评论 -
SpringBoot-Swapper的使用
SpringBoot-Swapper的使用1、导入maven依赖2.x版本导入两个依赖访问路径为:http://127.0.0.1:8080/swagger-ui.html<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</versio原创 2021-12-31 10:44:45 · 1121 阅读 · 0 评论