Skip to content

Commit

Permalink
Merge pull request #208 from nextcloud/feat/generate-spec/remove-exis…
Browse files Browse the repository at this point in the history
…tings-specs
  • Loading branch information
provokateurin authored Jan 27, 2025
2 parents d0e29bd + c38441b commit 5718eea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generate-spec.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,10 @@

$usedSchemas = ['Capabilities', 'PublicCapabilities'];

foreach (glob(dirname($out) . '/openapi*.json') as $path) {
unlink($path);
}

foreach ($scopePaths as $scope => $paths) {
$openapiScope = $openapi;

Expand Down

0 comments on commit 5718eea

Please sign in to comment.