beadledom-swagger

This project provides API documentation via Swagger. Additionally the Swagger UI has been updated with an optional field for an Authentication Header.

Download

Download using Maven:
<dependencies>
    ...
    <dependency>
        <groupId>com.cerner.beadledom</groupId>
       <artifactId>beadledom-swagger</artifactId>
        <version>[Insert latest version]</version>
    </dependency>
    ...
</dependencies>

Usage

Install the SwaggerModule to enable the /api-docs endpoint as well as a /meta/swagger/ui endpoint containing the Swagger ui.

public class MyModule extends AbstractModule {
  ...

  @Override
  protected void configure() {
    ...
    install(new SwaggerModule());
    ...
  }
}