diff --git a/generate-spec b/generate-spec index 19971c0..c8f1041 100755 --- a/generate-spec +++ b/generate-spec @@ -773,7 +773,7 @@ if ($useTags) { $openapi["tags"] = $tags; } -$hasSingleScope = count($scopePaths) === 1; +$hasSingleScope = count($scopePaths) >= 1; $fullScopePathArrays = []; if (!$hasSingleScope) {