Interface RestDocsMockMvcConfigurationCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A customizer for
MockMvcRestDocumentationConfigurer. If a
RestDocsMockMvcConfigurationCustomizer bean is found in the application context
it will be called to customize the
MockMvcRestDocumentationConfigurer before it is applied. Intended for use only
when the attributes on @AutoConfigureRestDocs do not
provide sufficient customization.- Since:
- 1.4.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer) Customize the givenconfigurer.
-
Method Details
-
customize
void customize(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer) Customize the givenconfigurer.- Parameters:
configurer- the configurer
-