Commit 369cf003 authored by Michele Carignani's avatar Michele Carignani

fixed typo

parent 576f8176
...@@ -4,10 +4,10 @@ specfiles=$(ls | egrep "^[^.]*Api.(json|yaml)") ...@@ -4,10 +4,10 @@ specfiles=$(ls | egrep "^[^.]*Api.(json|yaml)")
fres=0 fres=0
for i in $specfiles ; do for i in $specfiles ; do
echo "-- Validatingand linting OpenAPI file $i..." echo "-- Validating and linting OpenAPI file $i..."
swagger-cli validate $i swagger-cli validate "$i"
res=$? res=$?
speccy lint $i speccy lint "$i"
res2=$? res2=$?
fres=$(($fres||$res||$res2)) fres=$(($fres||$res||$res2))
echo "--- Validator returned $res, linter returned $res2." echo "--- Validator returned $res, linter returned $res2."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment