From 8ecc6a5649eaff2088b96b15b083c63d20d04471 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Mon, 18 Nov 2024 22:58:47 +0100 Subject: [PATCH] chore: Do not expose CommonContent properties @id IRI --- src/Api/Model/CommonContent.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Api/Model/CommonContent.php b/src/Api/Model/CommonContent.php index b3a2cd3..d30e916 100644 --- a/src/Api/Model/CommonContent.php +++ b/src/Api/Model/CommonContent.php @@ -21,11 +21,23 @@ final class CommonContent public ?NodesSources $errorPage = null; #[Groups(['common_content'])] + #[ApiProperty( + identifier: false, + genId: false, + )] public ?NodesSourcesHeadInterface $head = null; #[Groups(['common_content'])] + #[ApiProperty( + identifier: false, + genId: false, + )] public ?array $menus = null; #[Groups(['common_content'])] + #[ApiProperty( + identifier: false, + genId: false, + )] public ?array $footers = null; }