Skip to content

Commit 0b11eaa

Browse files
committed
Fix links to Framework's reference documentation
Closes gh-977
1 parent 33ac79e commit 0b11eaa

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
@@ -192,7 +192,7 @@ If you are not using Spring Boot and its plugin management, declare the plugin w
192192
[[getting-started-documentation-snippets]]
193193
=== Generating Documentation Snippets
194194

195-
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.
195+
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.
196196
It then produces documentation snippets for the request and the resulting response.
197197

198198

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/6.2
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)