spring.data.web.pageable.serialization-mode=via-dto GET /products/raw?size=2 (return type Page) {"content":[{"id":1,"name":"book-1","price":11.00},{"id":2,"name":"book-2","price":12.00}],"page":{"size":2,"number":0,"totalElements":25,"totalPages":13}}