From 54b9636e17a782e982195572a6f6d7622dc7889c 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