Skip to content

qwe4815124/simple-swagger2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

simple-swagger2

通过配置的方式来玩swagger2

使用方式 公用的启用swagger代码 修改配置就可以

swagger:
  enable: true
  o-auth2:
    enable: true
    app-key: basic-api
    app-name: 基础api
    authorization-url: http://39.108.51.1/se/oauth/authorize
  apis:
    user:
      packageName: com.jing21.learn.basic.api.user.controller
      author:
        name: dev1
    system:
      packageName: com.jing21.learn.basic.api.controller
      author:
        name: dev2
      title: dev2 API
      description: 接口文档
    

具体的配置查看SwaggerProperties

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages