@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(ObjectProvider<RestDocsMockMvcConfigurationCustomizer> configurationCustomizerProvider,
org.springframework.restdocs.RestDocumentationContextProvider contextProvider) |
org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer |
restDocumentationConfigurer(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer,
ObjectProvider<org.springframework.restdocs.mockmvc.RestDocumentationResultHandler> resultHandler) |
@Bean @ConditionalOnMissingBean(value=org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer.class) public org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer restDocsMockMvcConfigurer(ObjectProvider<RestDocsMockMvcConfigurationCustomizer> configurationCustomizerProvider, org.springframework.restdocs.RestDocumentationContextProvider contextProvider)
@Bean @ConfigurationProperties(value="spring.test.restdocs") public org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer restDocumentationConfigurer(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer, ObjectProvider<org.springframework.restdocs.mockmvc.RestDocumentationResultHandler> resultHandler)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.