springboot 集成 swagger 3.0 启动之后接口如下
在此之上 整合 yapi。pom 文件中引入
<dependency>
<groupId>com.github.nobugboy</groupId>
<artifactId>ydoc-spring-boot-starter</artifactId>
<version>1.0.8</version>
</dependency>
再次启动 接口如下
也就是说 yapi 在遍历controller 时候,以api为键的时候,貌似没有考虑到请求方式的不同的情况,导致接口被覆盖了