[API] Fix ShopUser docs example (#16655)

| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
This commit is contained in:
Kamil Grygierzec 2024-07-30 14:13:17 +02:00 committed by GitHub
commit c5dbbf85d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,4 +16,12 @@
xsi:schemaLocation="https://api-platform.com/schema/metadata/properties-3.0 https://api-platform.com/schema/metadata/properties-3.0.xsd"
>
<property resource="Sylius\Component\Core\Model\ShopUser" name="id" identifier="true" />
<property resource="Sylius\Component\Core\Model\ShopUser" name="verifiedAt" >
<openapiContext>
<values>
<value name="type">boolean</value>
<value name="example">true</value>
</values>
</openapiContext>
</property>
</properties>