Skip to content

Commit

Permalink
Girve PathItem the same attribute targets as operations (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Oct 10, 2023
1 parent 99b04b5 commit ab49d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Attributes/PathItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down

0 comments on commit ab49d25

Please sign in to comment.