From 5aec83db8502142f29f69f95231a2aa9ed7de9e8 Mon Sep 17 00:00:00 2001 From: ChangYong Date: Thu, 24 Oct 2019 17:07:36 +0900 Subject: [PATCH 1/3] Update getting-started.adoc Add webtestclient in gradle --- 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 a5086ee75..91e6b000c 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 `test` scope. 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 753d9c1777e4fd19fcca4ae1bd74f96d9d05d806 Mon Sep 17 00:00:00 2001 From: ChangYong Date: Thu, 24 Oct 2019 17:49:46 +0900 Subject: [PATCH 2/3] Update getting-started.adoc --- docs/src/docs/asciidoc/getting-started.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index 91e6b000c..099299c9f 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -131,7 +131,7 @@ the configuration are described in the following listings: ---- -<1> Add a dependency on `spring-restdocs-mockmvc` in the `test` scope. If you want to use +<1> 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. <2> Add the Asciidoctor plugin. @@ -172,7 +172,7 @@ 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 `test` scope. If you want to use +<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. From 312e740092f223275ff076d686a42a1d085a9953 Mon Sep 17 00:00:00 2001 From: ChangYong Date: Thu, 24 Oct 2019 18:05:10 +0900 Subject: [PATCH 3/3] Update getting-started.adoc --- docs/src/docs/asciidoc/getting-started.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index 099299c9f..f5b806c9e 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -131,7 +131,7 @@ the configuration are described in the following listings: ---- -<1> Add a dependency on `spring-restdocs-mockmvc` in the `testCompile` configuration. If you want to use +<1> Add a dependency on `spring-restdocs-mockmvc` in the `test` scope. 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. <2> Add the Asciidoctor plugin.