Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 788 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 788 Bytes

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.