@ -17,10 +17,12 @@
package org.springframework.boot.autoconfigure.data.rest ;
package org.springframework.boot.autoconfigure.data.rest ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.boot.autoconfigure.AutoConfigureAfter ;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration ;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication ;
import org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration ;
import org.springframework.boot.context.properties.ConfigurationProperties ;
import org.springframework.boot.context.properties.ConfigurationProperties ;
import org.springframework.context.annotation.Bean ;
import org.springframework.context.annotation.Bean ;
import org.springframework.context.annotation.Configuration ;
import org.springframework.context.annotation.Configuration ;
@ -48,6 +50,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
@ConditionalOnWebApplication
@ConditionalOnWebApplication
@ConditionalOnMissingBean ( RepositoryRestMvcConfiguration . class )
@ConditionalOnMissingBean ( RepositoryRestMvcConfiguration . class )
@ConditionalOnClass ( RepositoryRestMvcConfiguration . class )
@ConditionalOnClass ( RepositoryRestMvcConfiguration . class )
@AutoConfigureAfter ( HttpMessageConvertersAutoConfiguration . class )
public class RepositoryRestMvcAutoConfiguration {
public class RepositoryRestMvcAutoConfiguration {
@Configuration
@Configuration