Skip to content

Commit

Permalink
Merge 2f49f97 into 4717bd5
Browse files Browse the repository at this point in the history
  • Loading branch information
cve committed Mar 11, 2021
2 parents 4717bd5 + 2f49f97 commit 3c65266
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/OpenApi/Model/Paths.php
Expand Up @@ -22,6 +22,11 @@ public function addPath(string $path, PathItem $pathItem)
$this->paths[$path] = $pathItem;
}

public function removePath(string $path)
{
unset($this->paths[$path]);
}

public function getPath(string $path): ?PathItem
{
return $this->paths[$path] ?? null;
Expand Down

0 comments on commit 3c65266

Please sign in to comment.