Files
spring-data-demo/pagination/output/17-page-json-via-dto.txt
T

4 lines
267 B
Plaintext

spring.data.web.pageable.serialization-mode=via-dto
GET /products/raw?size=2 (return type Page<ProductView>)
{"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}}