Skip to content

Commit d104205

Browse files
committed
Update docs to reflect that @AutoConfigureRestDocs supports WebTestClient
Closes gh-15220
1 parent 1f39b5d commit d104205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7155,8 +7155,8 @@ The specific beans that you want to test should be specified by using the `value
71557155
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-rest-docs]]
71567156
==== Auto-configured Spring REST Docs Tests
71577157
You can use the `@AutoConfigureRestDocs` annotation to use {spring-rest-docs}[Spring REST
7158-
Docs] in your tests with Mock MVC or REST Assured. It removes the need for the JUnit rule
7159-
in Spring REST Docs.
7158+
Docs] in your tests with Mock MVC, REST Assured, or WebTestClient. It removes the need for
7159+
the JUnit rule in Spring REST Docs.
71607160

71617161
`@AutoConfigureRestDocs` can be used to override the default output directory
71627162
(`target/generated-snippets` if you are using Maven or `build/generated-snippets` if you

0 commit comments

Comments
 (0)