前言
我们都知道项目接口文档api的重要性,所以这期给大家带来的是SpringBoot3集成Swagger3。开干,我玩的就是真实👶
依赖导入
<!-- swagger3 调用方式 http://你的主机IP地址:端口号/swagger-ui/index.html -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.2.0</version>
</dependency>
小于 1 分钟