It would be great if http interface clients had support for: - Page as a response type - Pageable / Sort as request parameters
interface FooClient {
@GetExchange("/foos")
public fun getFoos(
pageRequest: Pageable,
): Page<Foo>
}
This would bring feature parity for what is supported in controllers today. I believe spring openfeign clients support this as well
Comment From: snicoll
There's no such concept in the core framework. I think you're probably talking about Spring Data REST and both paging and sorting are Spring Data specific. Please direct that question there and we can see if there's something required in the core framework based on their analysis.