Files
spring-restdocs-samples/web-test-client
2024-05-31 14:01:21 +01:00
..
2022-07-26 11:26:44 +01:00
2022-07-26 11:26:44 +01:00
2022-07-26 11:26:44 +01:00
2024-05-31 14:01:21 +01:00
2022-07-26 11:26:44 +01:00
2022-07-26 11:26:44 +01:00
2022-07-26 11:26:44 +01:00

= WebTestClient Sample

A basic application that demonstrates using Spring REST Docs with Spring WebFlux's `WebTestClient`.



== Building the Sample

You will need Java 17 to build the sample.
It is built using Gradle:

[source]
----
./gradlew build
----

As part of the build, a file named `build/docs/asciidoc/index.html` is created.
It is produced using Asciidoctor and includes snippets generated by the sample's tests using Spring REST Docs.