On behalf of everyone who contributed, it’s my pleasure to announce that Spring REST Docs 2.0.0.RC1 has been released and is available from https://repo.spring.io/milestone/.
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.
We’re hoping to publish a release in a few weeks’ time. Please take the release candidate for a spin and let us know if you find any problems or if you have a suggestion for some last-minute improvements.