Skip to content

Commit 34c9366

Browse files
committed
Polish "Raise the minimum support version of Spring Framework to 7.0"
See gh-955
1 parent c72e32d commit 34c9366

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

docs/src/docs/asciidoc/documenting-your-api.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,6 @@ Uses the static `parameterWithName` method on `org.springframework.restdocs.requ
802802

803803
The result is a snippet named `path-parameters.adoc` that contains a table describing the path parameters that are supported by the resource.
804804

805-
TIP: If you use MockMvc with Spring Framework 6.1 or earlier, to make the path parameters available for documentation, you must build the request by using one of the methods on `RestDocumentationRequestBuilders` rather than `MockMvcRequestBuilders`.
806-
807805
When documenting path parameters, the test fails if an undocumented path parameter is used in the request.
808806
Similarly, the test also fails if a documented path parameter is not found in the request and the path parameter has not been marked as optional.
809807

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you want to jump straight in, a number of https://github.com/spring-projects/
1818
Spring REST Docs has the following minimum requirements:
1919

2020
* Java 17
21-
* Spring Framework 6
21+
* Spring Framework 7
2222

2323
Additionally, the `spring-restdocs-restassured` module requires REST Assured 5.2.
2424

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ org.gradle.parallel=true
66

77
javaFormatVersion=0.0.43
88
jmustacheVersion=1.15
9-
springFrameworkVersion=7.0.0-SNAPSHOT
9+
springFrameworkVersion=7.0.0-M1

0 commit comments

Comments
 (0)