Skip to content

Commit

Permalink
Allow Examples attribute to be repeatable (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtreminio authored Jan 12, 2023
1 parent 8a6e6b6 commit 6fea22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Attributes/Examples.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::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)]
class Examples extends \OpenApi\Annotations\Examples
{
/**
Expand Down

0 comments on commit 6fea22f

Please sign in to comment.