Example usage for Java org.springframework.restdocs.mockmvc MockMvcRestDocumentation fields, constructors, methods, implement or subclass
The text is from its open source code.
RestDocumentationResultHandler | document(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. |
RestDocumentationResultHandler | document(String identifier, OperationRequestPreprocessor requestPreprocessor, Snippet... snippets) Documents the API call with the given identifier using the given snippets in addition to any default snippets. |
RestDocumentationResultHandler | document(String identifier, OperationResponsePreprocessor responsePreprocessor, Snippet... snippets) Documents the API call with the given identifier using the given snippets in addition to any default snippets. |
MockMvcRestDocumentationConfigurer | documentationConfiguration( RestDocumentationContextProvider contextProvider) Provides access to a MockMvcConfigurer that can be used to configure a MockMvc instance using the given contextProvider . |