chore: disable API GET on entity

This commit is contained in:
Maël Gangloff
2025-02-18 01:50:38 +01:00
parent 5bf730213d
commit d9b5fe31b0

View File

@@ -22,7 +22,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName;
uriTemplate: '/entities', uriTemplate: '/entities',
normalizationContext: ['groups' => ['entity:list', 'event:list']] normalizationContext: ['groups' => ['entity:list', 'event:list']]
), ),
*/
new Get( new Get(
uriTemplate: '/entities/{id}', uriTemplate: '/entities/{id}',
normalizationContext: [ normalizationContext: [
@@ -36,6 +36,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName;
], ],
] ]
), ),
*/
] ]
)] )]
class Entity class Entity