public class RestDocumentationConfigurer extends MockMvcConfigurerAdapter
MockMvcConfigurer that can be used to configure the documentationConfigurableMockMvcBuilder.apply(MockMvcConfigurer),
RestDocumentation.documentationConfiguration()| Constructor and Description |
|---|
RestDocumentationConfigurer()
Creates a new
RestDocumentationConfigurer. |
| Modifier and Type | Method and Description |
|---|---|
RequestPostProcessor |
beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder,
WebApplicationContext context) |
SnippetConfigurer |
snippets() |
UriConfigurer |
uris() |
afterConfigurerAddedpublic RestDocumentationConfigurer()
RestDocumentationConfigurer.public UriConfigurer uris()
public SnippetConfigurer snippets()
public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)
beforeMockMvcCreated in interface MockMvcConfigurerbeforeMockMvcCreated in class MockMvcConfigurerAdapter