springboot整合增强文档knife4j
集成增强文档knife4j
1、pom.xml中添加依赖
<!--Knife4j-->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<version>3.0.2</version>
</dependency>
2、config文件添加注解@EnableKnife4j

3、访问http://localhost:8080/doc.html

文档导出


浙公网安备 33010602011771号