Spring Data Rest - Configure pagination
Using Spring Data REST with JPA in version 2.1.0. How can I configure the pagination in order to have the page argument starting at index 1 instead of 0 ? I have tried setting a custom HateoasPageableHandlerMethodArgumentResolver with an mvc:argument-resolvers , but that doesn't work: <mvc:annotation-driven> <mvc:argument-resolvers> <bean class="org.springframework.data.web.HateoasPageableHandlerMethodArgumentResolver"> <property name="oneIndexedParameters" value="true"/> </bean> </mvc:argument-resolvers> </mvc:annotation-driven> Note that this behaviour is perfectly coherent with the