diff --git a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/controller/BeekeeperController.java b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/controller/BeekeeperController.java index eda7fcbd..4d083f76 100644 --- a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/controller/BeekeeperController.java +++ b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/controller/BeekeeperController.java @@ -106,7 +106,7 @@ public ResponseEntity> getAllPaths( @Spec(path = "cleanupTimestamp", params = "deleted_after", spec = GreaterThan.class), @Spec(path = "creationTimestamp", params = "registered_before", spec = LessThan.class), @Spec(path = "creationTimestamp", params = "registered_after", spec = GreaterThan.class) }) Specification spec, - Pageable pageable) { + @ParameterObject Pageable pageable) { return ResponseEntity.ok(housekeepingEntityService.getAllPaths(spec, pageable)); }