Merge pull request #654 from LichKing-lee
* gh-654: Polish "Mention WebTestClient in Gradle getting started example" Mention WebTestClient in Gradle getting started example Closes gh-654
This commit is contained in:
@@ -173,8 +173,9 @@ the configuration are described in the following listings:
|
||||
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.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user