Spring testing Learning Test Creating documentation Documentation creation is attached to packaging phase. mvn clean package If you run created jar you can access documentation on http://localhost:8080/docs/api-guide.html