Spring REST Docs example
This year, in May, I attended the Spring I/O conference in Barcelona where I heard about Spring REST docs. Two things drew my attention:
- Documentation is generated from unit tests
- Tests fail if documentation is not done properly
After the conference, I checked out Spring REST docs reference and I created a sample REST service to see it in practice. The code is very simple and it is the classic Hello World.