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