Skip to content

Commit

Permalink
allow OpenApi\Attributes\Options attribute target in methods (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
YerlenZhubangaliyev authored Jun 15, 2023
1 parent 9e00926 commit 7e583e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Attributes/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace OpenApi\Attributes;

#[\Attribute(\Attribute::TARGET_CLASS)]
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class Options extends \OpenApi\Annotations\Options
{
use OperationTrait;
Expand Down

0 comments on commit 7e583e1

Please sign in to comment.