Skip to content

Commit

Permalink
Merge pull request #1 from FandaOG/Security
Browse files Browse the repository at this point in the history
Add security to Operation Attribute
  • Loading branch information
qwasyx0 authored Apr 7, 2022
2 parents 8bf73ad + 91eae28 commit f9ddc63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Attributes/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ class Operation
{
public ?string $id;

/** @var array<string> */
public array $security;

/** @var array<string> */
public array $tags;

public ?string $method;

public function __construct(string $id = null, array $tags = [], string $method = null)
public function __construct(string $id = null, array $tags = [], array $security = [], string $method = null)
{
$this->id = $id;
$this->tags = $tags;
$this->security = $security;
$this->method = $method;
}
}

0 comments on commit f9ddc63

Please sign in to comment.