接口 RestDocsMockMvcConfigurationCustomizer
public interface RestDocsMockMvcConfigurationCustomizer
A customizer forMockMvcRestDocumentationConfigurer
. If aRestDocsMockMvcConfigurationCustomizer
bean is found in the application context it will becalled
to customize theMockMvcRestDocumentationConfigurer
before it is applied. Intended for use only when the attributes onAutoConfigureRestDocs
do not provide sufficient customization.- 从以下版本开始:
- 1.4.0
方法详细资料
customize
void customize(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer)
Customize the givenconfigurer
.- 参数:
configurer
- the configurer