Skip to content

Commit 30812e2

Browse files
committed
Upgrade to REST Assured 5.1.1
Closes gh-836
1 parent 7537e36 commit 30812e2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Spring REST Docs has the following minimum requirements:
7676
* Java 17
7777
* Spring Framework 6
7878

79-
Additionally, the `spring-restdocs-restassured` module requires REST Assured 5.
79+
Additionally, the `spring-restdocs-restassured` module requires REST Assured 5.1.
8080

8181
[[getting-started-build-configuration]]
8282
=== Build configuration

docs/src/docs/asciidoc/introduction.adoc

+1-1
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 4].
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].
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

samples/rest-assured/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies {
3737
implementation 'org.springframework:spring-webflux'
3838

3939

40-
testImplementation 'io.rest-assured:rest-assured:5.0.1'
40+
testImplementation 'io.rest-assured:rest-assured:5.1.1'
4141
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0'
4242
testImplementation "org.springframework.restdocs:spring-restdocs-restassured:$restdocsVersion"
4343
testImplementation 'org.springframework:spring-test'

spring-restdocs-platform/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
api("jakarta.servlet:jakarta.servlet-api:5.0.0")
1313
api("jakarta.validation:jakarta.validation-api:3.0.0")
1414
api("junit:junit:4.12")
15-
api("io.rest-assured:rest-assured:5.0.1")
15+
api("io.rest-assured:rest-assured:5.1.1")
1616
api("org.apache.pdfbox:pdfbox:2.0.7")
1717
api("org.asciidoctor:asciidoctorj:2.5.4")
1818
api("org.asciidoctor:asciidoctorj-pdf:1.6.0")

0 commit comments

Comments
 (0)