Skip to content

Commit 599ae03

Browse files
authored
fix: use pagination_maximum_items_per_page instead of maximum_items_per_page (#1378)
1 parent a233c75 commit 599ae03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ use ApiPlatform\Core\Annotation\ApiResource;
221221
222222
/**
223223
* @ApiResource(
224-
* attributes={"maximum_items_per_page"=50}
224+
* attributes={"pagination_maximum_items_per_page"=50}
225225
* )
226226
*/
227227
class Book
@@ -241,7 +241,7 @@ use ApiPlatform\Core\Annotation\ApiResource;
241241
/**
242242
* @ApiResource(
243243
* collectionOperations={
244-
* "get"={"maximum_items_per_page"=50}
244+
* "get"={"pagination_maximum_items_per_page"=50}
245245
* }
246246
* )
247247
*/

0 commit comments

Comments
 (0)