Skip to content

Commit a23e8da

Browse files
fix: rest api schema #148
2 parents d965ec0 + 2b11766 commit a23e8da

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Api/Data/LandingPageInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function setFilterAttributes(?string $filterAttributes): LandingPageInter
167167
public function getFilters(): array;
168168

169169
/**
170-
* @return array
170+
* @return string[]
171171
*/
172172
public function getUnserializedFilterAttributes(): array;
173173

src/etc/webapi.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<resource ref="Emico_AttributeLanding::Page_view"/>
1313
</resources>
1414
</route>
15-
<route method="GET" url="/V1/emico-attributelanding/page/:pageId">
16-
<service class="Emico\AttributeLanding\Api\LandingPageRepositoryInterface" method="getById"/>
15+
<route method="GET" url="/V1/emico-attributelanding/page/:pageId/:storeId">
16+
<service class="Emico\AttributeLanding\Api\LandingPageRepositoryInterface" method="getByIdWithStore"/>
1717
<resources>
1818
<resource ref="Emico_AttributeLanding::Page_view"/>
1919
</resources>

0 commit comments

Comments
 (0)