Skip to content

HelloWorld521/swagger2-boot-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

swagger2-boot-starter

介绍

springboot 自动装配 swagger2

如何使用

  1. 添加 pom 文件
        <dependency>
            <groupId>com.github.helloworld521</groupId>
            <artifactId>swagger2-boot-starter</artifactId>
            <version>0.0.1</version>
        </dependency>
  2. 参数配置
    swagger2:
        groups:
            v1:
              basePackage: com.moming.controller.v1
              title: 登录相关
            v2:
              basePackage: com.moming.controller.v2
              title: 业务相关
              description: 业务说明

案例

见本项目 springboot-swagger-demo

About

swagger2-boot-starter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages