Skip to content

Commit 91eae28

Browse files
authored
Add security to Operation Attribute
1 parent 8bf73ad commit 91eae28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Attributes/Operation.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ class Operation
99
{
1010
public ?string $id;
1111

12+
/** @var array<string> */
13+
public array $security;
14+
1215
/** @var array<string> */
1316
public array $tags;
1417

1518
public ?string $method;
1619

17-
public function __construct(string $id = null, array $tags = [], string $method = null)
20+
public function __construct(string $id = null, array $tags = [], array $security = [], string $method = null)
1821
{
1922
$this->id = $id;
2023
$this->tags = $tags;
24+
$this->security = $security;
2125
$this->method = $method;
2226
}
2327
}

0 commit comments

Comments
 (0)