This project is an example of a groovy spring boot app with Spring RESTdocs added to the spock tests for the talk Test-Driven Approaches to Documenting RESTful APIs
as presented by Jennifer Strater.
The published docs from the example are available here.
You can see this talk at any of the following events:
Venue | Date | City |
---|---|---|
Groovy Users of Minnesota | Feb 9, 2016 | Minneapolis, MN, USA |
Object Partners | March 18, 2016 | Minneapolis, MN, USA |
Twin Cities Code Camp | April 16, 2016 | Minneapolis, MN, USA |
Gr8Conf EU | June 2-3, 2016 | Copenhagen, Denmark |
Gr8Conf US | July 28, 2016 | Minneapolis, MN, USA |
Slides for previous presentations are available below:
You can build and run this sample using Gradle:
$ gradle run
Or the Gradle Wrapper:
$ ./gradlew run
Then access the app via a browser (or curl) on http://localhost:8080 to see the docs.