From 993d5d4a6dc5434fe663bacff7f935ee11ba63f8 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Fri, 19 Jan 2024 23:35:10 +0100 Subject: [PATCH] fix(build): Fix OpenAPI diff on non-default specs Signed-off-by: provokateurin --- build/openapi-checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh index ffcd12aea731b..00b2b7d7baa9a 100755 --- a/build/openapi-checker.sh +++ b/build/openapi-checker.sh @@ -9,7 +9,7 @@ done files="$(git diff --name-only)" changed=false for file in $files; do - if [[ $file == *"openapi.json" ]]; then + if [[ $file == *"openapi"*".json" ]]; then changed=true break fi