From b8ae39578eb9278b496415ada2107f6f262f99c6 Mon Sep 17 00:00:00 2001 From: DerManoMann Date: Wed, 11 Oct 2023 10:33:49 +1300 Subject: [PATCH] Girve `PathItem` the same attribute targets as operations --- src/Attributes/PathItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/PathItem.php b/src/Attributes/PathItem.php index 5ba66587..4ecdd348 100644 --- a/src/Attributes/PathItem.php +++ b/src/Attributes/PathItem.php @@ -8,7 +8,7 @@ use OpenApi\Generator; -#[\Attribute(\Attribute::TARGET_CLASS)] +#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] class PathItem extends \OpenApi\Annotations\PathItem { /**