On behalf of everyone who contributed, it’s my pleasure to announce that Spring REST Docs 2.0.0.RELEASE has been released and is available from Maven Central, JCenter, and our release repository
Spring REST Docs 2.0 is the latest generation of the project and requires Spring Framework 5.0 and Java 8.
The main highlight of the 2.0 release is support for using Spring WebFlux’s
WebTestClient to document an API.
WebTestClient can be used for lightweight testing and documentation of APIs implemented using WebFlux Fn and WebFlux’s annotation-based programming model. It can also be used to document any API that’s accessible via HTTP, something that was previously only possible when using REST Docs’ REST Assured support.
For more information about the new
WebTestClient support and the other changes in 2.0, please refer to the release notes.