求解答!
前几天才从从头到尾debug了一下,我得版本是springboot2.6.1(据说是从2.6.0开始),springmvc默认使用新的路径匹配工具类,swagger基于旧版本的api,导致空指针,你切换成旧的路径匹配就行了spring.mvc.pathmatch.matching-strategy=ant_path_matcher
swagger配置太麻烦了,可以试一下lkadoc
lkadoc是啥,好用吗?比swagger优势在哪里呀