最新版springboot+最新版swagger
Spring Boot 2.6.X使用PathPatternMatcher匹配路径,Swagger引用的Springfox使用的路径匹配是基于AntPathMatcher的,添加配置
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
最新版springboot+最新版swagger
Spring Boot 2.6.X使用PathPatternMatcher匹配路径,Swagger引用的Springfox使用的路径匹配是基于AntPathMatcher的,添加配置
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER