Class SpringDataRestConfiguration


  • @Configuration
    @ComponentScan(basePackages="springfox.documentation.spring.data.rest")
    @ConditionalOnWebApplication
    @ConditionalOnClass({org.springframework.data.rest.core.config.RepositoryRestConfiguration.class,OnServletBasedWebApplication.class})
    public class SpringDataRestConfiguration
    extends java.lang.Object
    • Constructor Detail

      • SpringDataRestConfiguration

        public SpringDataRestConfiguration()
    • Method Detail

      • pageableConvention

        @Bean
        public AlternateTypeRuleConvention pageableConvention​(com.fasterxml.classmate.TypeResolver resolver,
                                                              org.springframework.data.rest.core.config.RepositoryRestConfiguration restConfiguration)