# swagger-sping-boot-starter **Repository Path**: DimonHo/swagger-sping-boot-starter ## Basic Information - **Project Name**: swagger-sping-boot-starter - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 快速开始 1. 引入pom ```xml com.wd.starter swagger-spring-boot-starter 3.0.0-SNAPSHOT ``` 2. 在application.yml 中加入如下配置 ```yml swagger: host: ${swaggerHost:} enabled: ${swaggerEnable:true} ``` 3. 添加`@EnableSwagger2Doc`注解 ```java @EnableSwagger2Doc @SpringBootApplication public class XxxApplication { public static void main(String[] args) { SpringApplication.run(XxxApplication.class, args); } } ``` 参考:https://github.com/SpringForAll/spring-boot-starter-swagger