From 8746cb05cf3466d2131d51a8ea1f7cc1b132a284 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 17 Jan 2024 16:29:00 +0100 Subject: [PATCH] fix(scopes): Don't generate "full" scope when there is none Signed-off-by: Joas Schilling --- generate-spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {