Previously, form and query parameters were handled together as request parameters. Howeer, request parameters are a server-side construct that's specific to the servlet specification. As such they're not appropriate for the client-side documentation that Spring REST Docs aims to produce. This commit replaces support for documenting request parameters with support for documenting query paramters found in the query string of the request's URI and for documenting form parameters found in the form URL encoded body of the request. Closes gh-832
26 lines
821 B
Groovy
26 lines
821 B
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
}
|
|
|
|
description = "Spring REST Docs REST Assured"
|
|
|
|
dependencies {
|
|
api(project(":spring-restdocs-core"))
|
|
api("io.rest-assured:rest-assured") {
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
}
|
|
implementation("org.springframework:spring-web")
|
|
|
|
internal(platform(project(":spring-restdocs-platform")))
|
|
|
|
testImplementation(testFixtures(project(":spring-restdocs-core")))
|
|
testImplementation("com.fasterxml.jackson.core:jackson-databind")
|
|
testImplementation("junit:junit")
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-core:10.0.11")
|
|
testImplementation("org.assertj:assertj-core")
|
|
testImplementation("org.hamcrest:hamcrest-library")
|
|
testImplementation("org.mockito:mockito-core")
|
|
testImplementation("ch.qos.logback:logback-classic:1.4.1")
|
|
}
|