From 6fea22f00b2a0048e96f0a8f228356cbbfc1b930 Mon Sep 17 00:00:00 2001 From: Juan Treminio Date: Thu, 12 Jan 2023 13:58:53 -0600 Subject: [PATCH] Allow Examples attribute to be repeatable (#1389) --- src/Attributes/Examples.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/Examples.php b/src/Attributes/Examples.php index 9e1a9a09d..820e2f4ea 100644 --- a/src/Attributes/Examples.php +++ b/src/Attributes/Examples.php @@ -8,7 +8,7 @@ use OpenApi\Generator; -#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] +#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)] class Examples extends \OpenApi\Annotations\Examples { /**