Spring REST Docs helps you to document RESTful services.
It combines hand-written documentation written with Asciidoctor and auto-generated snippets produced with Spring MVC Test. This approach frees you from the limitations of the documentation produced by tools like Swagger.
It helps you to produce documentation that is accurate, concise, and well-structured. This documentation then allows your users to get the information they need with a minimum of fuss.
Spring Boot Config
Spring Boot provides an
@AutoConfigureRestDocs annotation to leverage Spring REST Docs in your tests.
Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.