mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Remove legacy configuration
This commit is contained in:
parent
0a7ac37f57
commit
86cf4c8a44
1 changed files with 0 additions and 64 deletions
|
|
@ -1,64 +0,0 @@
|
||||||
<?xml version="1.0" ?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
This file is part of the Sylius package.
|
|
||||||
|
|
||||||
(c) Sylius Sp. z o.o.
|
|
||||||
|
|
||||||
For the full copyright and license information, please view the LICENSE
|
|
||||||
file that was distributed with this source code.
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<resources xmlns="https://api-platform.com/schema/metadata"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="https://api-platform.com/schema/metadata https://api-platform.com/schema/metadata/metadata-2.0.xsd"
|
|
||||||
>
|
|
||||||
<resource class="Sylius\Bundle\ApiBundle\Command\Account\ResetPassword" shortName="Customer">
|
|
||||||
<attribute name="validation_groups">sylius</attribute>
|
|
||||||
<attribute name="messenger">input</attribute>
|
|
||||||
|
|
||||||
<collectionOperations>
|
|
||||||
<collectionOperation name="shop_request_reset_password">
|
|
||||||
<attribute name="method">POST</attribute>
|
|
||||||
<attribute name="path">/shop/customers/reset-password</attribute>
|
|
||||||
<attribute name="input">Sylius\Bundle\ApiBundle\Command\Account\RequestResetPasswordToken</attribute>
|
|
||||||
<attribute name="output">false</attribute>
|
|
||||||
<attribute name="status">202</attribute>
|
|
||||||
<attribute name="denormalization_context">
|
|
||||||
<attribute name="groups">
|
|
||||||
<attribute>shop:reset_password:create</attribute>
|
|
||||||
<attribute>sylius:shop:reset_password:create</attribute>
|
|
||||||
</attribute>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="openapi_context">
|
|
||||||
<attribute name="summary">Requests password reset.</attribute>
|
|
||||||
</attribute>
|
|
||||||
</collectionOperation>
|
|
||||||
</collectionOperations>
|
|
||||||
|
|
||||||
<itemOperations>
|
|
||||||
<itemOperation name="shop_update_reset_password">
|
|
||||||
<attribute name="method">PATCH</attribute>
|
|
||||||
<attribute name="path">/shop/customers/reset-password/{token}</attribute>
|
|
||||||
<attribute name="input">Sylius\Bundle\ApiBundle\Command\Account\ResetPassword</attribute>
|
|
||||||
<attribute name="output">false</attribute>
|
|
||||||
<attribute name="status">202</attribute>
|
|
||||||
<attribute name="denormalization_context">
|
|
||||||
<attribute name="groups">
|
|
||||||
<attribute>shop:reset_password:update</attribute>
|
|
||||||
<attribute>sylius:shop:reset_password:update</attribute>
|
|
||||||
</attribute>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="openapi_context">
|
|
||||||
<attribute name="summary">Resets password.</attribute>
|
|
||||||
</attribute>
|
|
||||||
</itemOperation>
|
|
||||||
</itemOperations>
|
|
||||||
|
|
||||||
<property name="token" identifier="true" />
|
|
||||||
<property name="newPassword" required="true" />
|
|
||||||
<property name="confirmNewPassword" required="true" />
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
Loading…
Add table
Reference in a new issue