Add ability to paginate.

This commit is contained in:
James Cole
2024-08-03 07:28:56 +02:00
parent ff80cedd6b
commit 9da10459d6
6 changed files with 64 additions and 39 deletions

View File

@@ -62,15 +62,6 @@ class AccountCollectionQuery extends ResourceQuery
'array',
JsonApiRule::page(),
],
'page.number' => [
'integer',
'min:1',
],
'page.size' => [
'integer',
'min:1',
],
'sort' => [
'nullable',
'string',