The core of this project is build around the springfox project: https://github.com/springfox/springfox
The goal of this project is to make it easier to integrate springfox with spring boot applications
Usage
Add the dependency to your project
<dependency>
<groupId>com.github.robert2411</groupId>
<artifactId>spring-boot-starter-springfox</artifactId>
</dependency>
- Go to
/swagger-ui/
to see the ui - Go to
/v2/api-docs
to see the json
Config properties
swagger:
info:
title: title
description: description
version: version
termsOfServiceUrl: termsOfServiceUrl
contact:
name: name
url: url
email: email
license:
name: name
url: url
config:
paths: /api/.*
documentation-type: swagger
The options for documentation-type are: swagger, openApi