Skip to content
Boniara edited this page Oct 12, 2016 · 6 revisions

Introduction

Swagger is a simple yet powerful representation of RESTful API.
Springfox is an implementation of Swagger and Spring MVC integration.

Maven dependencies

  • springfox-swagger2:
<dependency>
	<groupId>io.springfox</groupId>
	<artifactId>springfox-swagger2</artifactId>
	<version>2.6.0</version>
</dependency>
  • spring-swagger-ui
<dependency>
	<groupId>io.springfox</groupId>
	<artifactId>springfox-swagger-ui</artifactId>
	<version>2.6.0</version>
</dependency>

For connect swagger core and swagger ui respectively. Also need to change com.google.guava 13.0.1 to latter version (19.0 e.g.) for compatibility of dependencies.

Swagger configuration

Clone this wiki locally