Skip to content

Commit

Permalink
fix(scopes): Don't generate "full" scope when there is none
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jan 17, 2024
1 parent 443740f commit 8746cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-spec
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ if ($useTags) {
$openapi["tags"] = $tags;
}

$hasSingleScope = count($scopePaths) === 1;
$hasSingleScope = count($scopePaths) >= 1;
$fullScopePathArrays = [];

if (!$hasSingleScope) {
Expand Down

0 comments on commit 8746cb0

Please sign in to comment.