From c8727a21881813fe5015ef7bf6d03a7e65dd114b Mon Sep 17 00:00:00 2001 From: ChangYong Date: Thu, 24 Oct 2019 17:07:36 +0900 Subject: [PATCH 1/2] Mention WebTestClient in Gradle getting started example See gh-654 --- docs/src/docs/asciidoc/getting-started.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index a5086ee7..f5b806c9 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -172,9 +172,9 @@ the configuration are described in the following listings: This will automatically configure the `snippets` attribute for use in your `.adoc` files to point to `build/generated-snippets`. It will also allow you to use the `operation` block macro. -<3> Add a dependency on `spring-restdocs-mockmvc` in the `testCompile` configuration. If - you want to use REST Assured rather than MockMvc, add a dependency on - `spring-restdocs-restassured` instead. +<3> Add a dependency on `spring-restdocs-mockmvc` in the `testCompile` configuration. If you want to use + `WebTestClient` or REST Assured rather than MockMvc, add a dependency on + `spring-restdocs-webtestclient` or `spring-restdocs-restassured` respectively instead. <4> Configure a property to define the output location for generated snippets. <5> Configure the `test` task to add the snippets directory as an output. <6> Configure the `asciidoctor` task From 14149cb85f3d6eb8d7182ca853d748ccfae0889a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 24 Oct 2019 10:15:27 +0100 Subject: [PATCH 2/2] Polish "Mention WebTestClient in Gradle getting started example" See gh-654 --- docs/src/docs/asciidoc/getting-started.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index f5b806c9..8e8b5c25 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -172,9 +172,10 @@ the configuration are described in the following listings: This will automatically configure the `snippets` attribute for use in your `.adoc` files to point to `build/generated-snippets`. It will also allow you to use the `operation` block macro. -<3> Add a dependency on `spring-restdocs-mockmvc` in the `testCompile` configuration. If you want to use - `WebTestClient` or REST Assured rather than MockMvc, add a dependency on - `spring-restdocs-webtestclient` or `spring-restdocs-restassured` respectively instead. +<3> Add a dependency on `spring-restdocs-mockmvc` in the `testCompile` configuration. If + you want to use `WebTestClient` or REST Assured rather than MockMvc, add a dependency + on `spring-restdocs-webtestclient` or `spring-restdocs-restassured` respectively + instead. <4> Configure a property to define the output location for generated snippets. <5> Configure the `test` task to add the snippets directory as an output. <6> Configure the `asciidoctor` task