在启动类添加 @EnableSwagger2
注解时显示Failed to start bean documentationPluginsBootstrapper报错
有建议配置文件新增:spring: mvc: pathmatch: matching-strategy: ant_path_matcher内容,并在配置类中添加一长串代码,尝试添加发现报错仍不能解决
有建议版本不一致问题,将swagger2对应springboot2.5.6,问题解决