From 12d0882507784861a3fd74750e83eaf8f071ff4f Mon Sep 17 00:00:00 2001 From: Nextpage <92269411+nxtpge@users.noreply.github.com> Date: Thu, 10 Nov 2022 20:08:18 +0100 Subject: [PATCH] fix(operations): replace entity "Book" by "User" for .yaml and .xml examples The .yaml and .xml examples for defining which operation to use to generate the IRI contain previous versions configurations ("App\Entity\Book" instead of "App\Entity\User"). --- core/operations.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/operations.md b/core/operations.md index 8355beffe16..d567c0c73fd 100644 --- a/core/operations.md +++ b/core/operations.md @@ -485,7 +485,7 @@ class User ```yaml # api/config/api_platform/resources.yaml resources: - App\Entity\Book: + App\Entity\User: - operations: ApiPlatform\Metadata\GetCollection: ~ ApiPlatform\Metadata\Get: ~ @@ -511,14 +511,14 @@ resources: 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"> - + - +