diff --git a/src/OpenApi/Model/Paths.php b/src/OpenApi/Model/Paths.php index 80829b3d876..02b6ea8d321 100644 --- a/src/OpenApi/Model/Paths.php +++ b/src/OpenApi/Model/Paths.php @@ -31,4 +31,9 @@ public function getPaths(): array { return $this->paths ?? []; } + + public function removePath(string $path) + { + unset($this->paths[$path]); + } }