Skip to content

bliblidotcom/swagger-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Spring Boot Swagger Plugin

Add this dependency in your pom.xml

<repositories>
    ...
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>bintray-bliblidotcom-maven</id>
      <name>bintray</name>
      <url>https://dl.bintray.com/bliblidotcom/maven</url>
    </repository>
    ...
</repositories>
<dependencies>
  ...
  <dependency>
   <groupId>com.blibli.oss</groupId>
   <artifactId>swagger-plugin</artifactId>
   <version>...</version>
 </dependency>
 ...
</dependencies>

To add controller to Swagger UI, add @Api in you controller class.