Package | Description |
---|---|
org.springframework.restdocs |
Core Spring REST Docs classes.
|
org.springframework.restdocs.mockmvc |
Core classes for using Spring REST Docs with Spring Test's MockMvc.
|
org.springframework.restdocs.restassured3 |
Core classes for using Spring REST Docs with REST Assured 3.
|
org.springframework.restdocs.webtestclient |
Core classes for using Spring REST Docs with Spring Framework's WebTestClient.
|
Modifier and Type | Class and Description |
---|---|
class |
JUnitRestDocumentation
A JUnit
TestRule used to automatically manage the
RestDocumentationContext . |
class |
ManualRestDocumentation
ManualRestDocumentation is used to manually manage the
RestDocumentationContext . |
Modifier and Type | Method and Description |
---|---|
static MockMvcRestDocumentationConfigurer |
MockMvcRestDocumentation.documentationConfiguration(RestDocumentationContextProvider contextProvider)
Provides access to a
MockMvcConfigurer that can be used to configure a
MockMvc instance using the given contextProvider . |
Modifier and Type | Method and Description |
---|---|
static RestAssuredRestDocumentationConfigurer |
RestAssuredRestDocumentation.documentationConfiguration(RestDocumentationContextProvider contextProvider)
Provides access to a
RestAssuredRestDocumentationConfigurer that can be
used to configure Spring REST Docs using the given contextProvider . |
Modifier and Type | Method and Description |
---|---|
static WebTestClientRestDocumentationConfigurer |
WebTestClientRestDocumentation.documentationConfiguration(RestDocumentationContextProvider contextProvider)
Provides access to a
ExchangeFilterFunction that can be used to configure a
WebTestClient instance using the given contextProvider . |