mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[API] Configure ProductOptionValue shop get operation
This commit is contained in:
parent
cff4e4a428
commit
f778c9c625
1 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,13 @@
|
|||
<uriVariable parameterName="code" fromClass="Sylius\Component\Product\Model\ProductOptionValue" />
|
||||
</uriVariables>
|
||||
</operation>
|
||||
|
||||
<operation class="ApiPlatform\Metadata\NotExposed" uriTemplate="/shop/product-options/{product_option_code}/values/{code}">
|
||||
<uriVariables>
|
||||
<uriVariable parameterName="product_option_code" fromClass="Sylius\Component\Product\Model\ProductOption" fromProperty="values"/>
|
||||
<uriVariable parameterName="code" fromClass="Sylius\Component\Product\Model\ProductOptionValue" />
|
||||
</uriVariables>
|
||||
</operation>
|
||||
</operations>
|
||||
</resource>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue