/swagger-plugin

Swagger Plugin for Spring Boot

Primary LanguageJavaApache License 2.0Apache-2.0

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.