Skip to content

Add an LCPageable DTO object and paged endpoints

Chris Lemaire requested to merge q364-queue-2-0-pagination into development

This LCPageable object is a wrapper of the Pageable available in Spring. Pageable objects, however, are not serializable to JSON by default. Converting the sort field manually allows us to serialize properly.

Some endpoints are added to demonstrate this. However, instead of these endpoints being normal GET methods, we need to circumvent some trouble in OpenAPI Generator v4.2.3, by making these POST requests and passing the LCPageable as the request body.

queue#364 (closed)

Edited by Chris Lemaire

Merge request reports