@Configuration @ConditionalOnWebApplication @EnableConfigurationProperties public class RestDocsAutoConfiguration extends Object
Auto-configuration
for Spring REST Docs.Constructor and Description |
---|
RestDocsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer |
restDocsMockMvcConfigurer(org.springframework.beans.factory.ObjectProvider<RestDocsMockMvcConfigurationCustomizer> configurationCustomizerProvider,
org.springframework.restdocs.RestDocumentationContextProvider contextProvider) |
org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer |
restDocumentationConfigurer(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer,
org.springframework.beans.factory.ObjectProvider<org.springframework.restdocs.mockmvc.RestDocumentationResultHandler> resultHandler) |
@Bean @ConditionalOnMissingBean(value=org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer.class) public org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer restDocsMockMvcConfigurer(org.springframework.beans.factory.ObjectProvider<RestDocsMockMvcConfigurationCustomizer> configurationCustomizerProvider, org.springframework.restdocs.RestDocumentationContextProvider contextProvider)
@Bean @ConfigurationProperties(prefix="spring.test.restdocs") public org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer restDocumentationConfigurer(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer, org.springframework.beans.factory.ObjectProvider<org.springframework.restdocs.mockmvc.RestDocumentationResultHandler> resultHandler)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.