July 2017
Intermediate to advanced
414 pages
11h 18m
English
The traditional approach of API documentation is either to write service specification documents or to use static service registries. With a large number of microservices, it would be hard to keep the documentation of APIs in sync.
Microservices can be documented in many ways. This section will explore how microservices can be documented using the popular Swagger framework. In the following examples, we will use Springfox libraries for generating REST API documentation. Springfox is a set of Java Spring-friendly library.
Create a new Spring Starter project, and choose Web in the library selection window. Name the project as chapter3.swagger.
Read now
Unlock full access