Skip to content

Commit d38dd75

Browse files
committed
Merge branch '3.0.x'
Closes gh-978
2 parents 7f3ac83 + 0b11eaa commit d38dd75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/src/docs/asciidoc/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ If you are not using Spring Boot and its plugin management, declare the plugin w
194194
[[getting-started-documentation-snippets]]
195195
=== Generating Documentation Snippets
196196

197-
Spring REST Docs uses Spring MVC's {spring-framework-docs}/testing.html#spring-mvc-test-framework[test framework], Spring WebFlux's {spring-framework-docs}/testing.html#webtestclient[`WebTestClient`], or https://rest-assured.io/[REST Assured] to make requests to the service that you are documenting.
197+
Spring REST Docs uses Spring MVC's {spring-framework-docs}/testing/mockmvc.html[test framework], Spring WebFlux's {spring-framework-docs}/testing/webtestclient.html[`WebTestClient`], or https://rest-assured.io/[REST Assured] to make requests to the service that you are documenting.
198198
It then produces documentation snippets for the request and the resulting response.
199199

200200

docs/src/docs/asciidoc/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Andy Wilkinson; Jay Bryant
1313
:samples: https://github.com/spring-projects/spring-restdocs-samples/tree/main
1414
:templates: {source}spring-restdocs/src/main/resources/org/springframework/restdocs/templates
1515
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle
16-
:spring-framework-docs: https://docs.spring.io/spring-framework/docs/{spring-framework-version}/reference/html/
16+
:spring-framework-docs: https://docs.spring.io/spring-framework/reference/7.0
1717
:spring-framework-api: https://docs.spring.io/spring-framework/docs/{spring-framework-version}/javadoc-api
1818

1919
[[abstract]]

docs/src/docs/asciidoc/introduction.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To this end, Spring REST Docs uses https://asciidoctor.org[Asciidoctor] by defau
99
Asciidoctor processes plain text and produces HTML, styled and laid out to suit your needs.
1010
If you prefer, you can also configure Spring REST Docs to use Markdown.
1111

12-
Spring REST Docs uses snippets produced by tests written with Spring MVC's {spring-framework-docs}/testing.html#spring-mvc-test-framework[test framework], Spring WebFlux's {spring-framework-docs}/testing.html#webtestclient[`WebTestClient`] or https://rest-assured.io/[REST Assured 5].
12+
Spring REST Docs uses snippets produced by tests written with Spring MVC's {spring-framework-docs}/testing/mockmvc.html[test framework], Spring WebFlux's {spring-framework-docs}/testing/webtestclient.html[`WebTestClient`] or https://rest-assured.io/[REST Assured 5].
1313
This test-driven approach helps to guarantee the accuracy of your service's documentation.
1414
If a snippet is incorrect, the test that produces it fails.
1515

0 commit comments

Comments
 (0)