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.

@FunctionalInterface public interface RestDocsMockMvcConfigurationCustomizer
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 Type
    Method
    Description
    void
    customize(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer)
    Customize the given configurer.
  • Method Details

    • customize

      void customize(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer)
      Customize the given configurer.
      Parameters:
      configurer - the configurer