Skip to content

larry4xie/spring-boot-starter-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-starter-swagger

spring-boot-starter-swagger via springbox

依赖

<dependency>
    <groupId>xyz.lxie</groupId>
    <artifactId>spring-boot-starter-swagger</artifactId>
    <version>${starter-swagger.version}</version>
</dependency>

最新版本查询

配置

# application.properties
swagger.ui.xxx=xyz
...

配置参数见: SwaggerProperties.java

线上环境关闭swagger ui, 可以配置参数 swagger.ui.enable=false

使用

http://host:port/swagger-ui.html