Package | Description |
---|---|
org.springframework.restdocs.mockmvc |
Core classes for using Spring REST Docs with Spring Test's MockMvc.
|
Modifier and Type | Method and Description |
---|---|
RestDocumentationResultHandler |
RestDocumentationResultHandler.document(Snippet... snippets)
Creates a new
RestDocumentationResultHandler to be passed into
ResultActions.andDo(ResultHandler) that will produce documentation using
the given snippets . |
static RestDocumentationResultHandler |
MockMvcRestDocumentation.document(java.lang.String identifier,
OperationRequestPreprocessor requestPreprocessor,
OperationResponsePreprocessor responsePreprocessor,
Snippet... snippets)
Documents the API call with the given
identifier using the given
snippets in addition to any default snippets. |
static RestDocumentationResultHandler |
MockMvcRestDocumentation.document(java.lang.String identifier,
OperationRequestPreprocessor requestPreprocessor,
Snippet... snippets)
Documents the API call with the given
identifier using the given
snippets in addition to any default snippets. |
static RestDocumentationResultHandler |
MockMvcRestDocumentation.document(java.lang.String identifier,
OperationResponsePreprocessor responsePreprocessor,
Snippet... snippets)
Documents the API call with the given
identifier using the given
snippets in addition to any default snippets. |
static RestDocumentationResultHandler |
MockMvcRestDocumentation.document(java.lang.String identifier,
Snippet... snippets)
Documents the API call with the given
identifier using the given
snippets in addition to any default snippets. |