Skip to content

Commit

Permalink
[API] Move paginationEnabled option to the specific operation instead…
Browse files Browse the repository at this point in the history
… of the entire Locale resource
  • Loading branch information
GSadee committed Jun 14, 2024
1 parent 1bb7ec1 commit 12930f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://api-platform.com/schema/metadata/resources-3.0 https://api-platform.com/schema/metadata/resources-3.0.xsd"
>
<resource class="Sylius\Component\Locale\Model\Locale" shortName="Locale" paginationEnabled="false">
<resource class="Sylius\Component\Locale\Model\Locale" shortName="Locale">
<validationContext>
<values>
<value name="groups">
Expand All @@ -40,7 +40,7 @@
</normalizationContext>
</operation>

<operation class="ApiPlatform\Metadata\GetCollection" uriTemplate="/admin/locales">
<operation class="ApiPlatform\Metadata\GetCollection" uriTemplate="/admin/locales" paginationEnabled="false">
<normalizationContext>
<values>
<value name="groups">
Expand Down

0 comments on commit 12930f9

Please sign in to comment.