.setResponseExample(getClass().getResource("projects-example.json"));
action.setChangelog(
+ new Change("10.0", "deprecated 'more' response field has been removed"),
new Change("8.8", "deprecated 'id' response field has been removed"),
new Change("8.8", "deprecated 'uuid' response field has been removed"),
new Change("7.2", "'more' response field is deprecated"),
.prop("pageSize", paging.pageSize())
.prop("total", paging.total())
.endObject();
- // more is deprecated since 7.2
- json.prop("more", paging.hasNextPage());
json.endObject();
json.close();
}