Upgrade to REST Assured 5.1.1
Closes gh-836
This commit is contained in:
@@ -76,7 +76,7 @@ Spring REST Docs has the following minimum requirements:
|
||||
* Java 17
|
||||
* Spring Framework 6
|
||||
|
||||
Additionally, the `spring-restdocs-restassured` module requires REST Assured 5.
|
||||
Additionally, the `spring-restdocs-restassured` module requires REST Assured 5.1.
|
||||
|
||||
[[getting-started-build-configuration]]
|
||||
=== Build configuration
|
||||
|
||||
@@ -9,7 +9,7 @@ To this end, Spring REST Docs uses https://asciidoctor.org[Asciidoctor] by defau
|
||||
Asciidoctor processes plain text and produces HTML, styled and laid out to suit your needs.
|
||||
If you prefer, you can also configure Spring REST Docs to use Markdown.
|
||||
|
||||
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].
|
||||
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].
|
||||
This test-driven approach helps to guarantee the accuracy of your service's documentation.
|
||||
If a snippet is incorrect, the test that produces it fails.
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ dependencies {
|
||||
implementation 'org.springframework:spring-webflux'
|
||||
|
||||
|
||||
testImplementation 'io.rest-assured:rest-assured:5.0.1'
|
||||
testImplementation 'io.rest-assured:rest-assured:5.1.1'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0'
|
||||
testImplementation "org.springframework.restdocs:spring-restdocs-restassured:$restdocsVersion"
|
||||
testImplementation 'org.springframework:spring-test'
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies {
|
||||
api("jakarta.servlet:jakarta.servlet-api:5.0.0")
|
||||
api("jakarta.validation:jakarta.validation-api:3.0.0")
|
||||
api("junit:junit:4.12")
|
||||
api("io.rest-assured:rest-assured:5.0.1")
|
||||
api("io.rest-assured:rest-assured:5.1.1")
|
||||
api("org.apache.pdfbox:pdfbox:2.0.7")
|
||||
api("org.asciidoctor:asciidoctorj:2.5.4")
|
||||
api("org.asciidoctor:asciidoctorj-pdf:1.6.0")
|
||||
|
||||
Reference in New Issue
Block a user