Loading common-openapi/cli-validate-openapis-mec.sh +1 −1 Original line number Original line Diff line number Diff line Loading @@ -61,7 +61,7 @@ ERR="" #specfiles=$(ls -I*definitions.*| egrep "^[^.]*.(json|yaml)") #specfiles=$(ls -I*definitions.*| egrep "^[^.]*.(json|yaml)") # for i in $specfiles ; do # for i in $specfiles ; do for i in ./*.json ./*.yaml ; do for i in ./*.yaml ; do echo -e "\n--- Validating $i ---" | tee -a "$LOGFILE" echo -e "\n--- Validating $i ---" | tee -a "$LOGFILE" TMP_OUTPUT=$(mktemp) TMP_OUTPUT=$(mktemp) validate "$i" 2>&1 | tee $TMP_OUTPUT validate "$i" 2>&1 | tee $TMP_OUTPUT Loading Loading
common-openapi/cli-validate-openapis-mec.sh +1 −1 Original line number Original line Diff line number Diff line Loading @@ -61,7 +61,7 @@ ERR="" #specfiles=$(ls -I*definitions.*| egrep "^[^.]*.(json|yaml)") #specfiles=$(ls -I*definitions.*| egrep "^[^.]*.(json|yaml)") # for i in $specfiles ; do # for i in $specfiles ; do for i in ./*.json ./*.yaml ; do for i in ./*.yaml ; do echo -e "\n--- Validating $i ---" | tee -a "$LOGFILE" echo -e "\n--- Validating $i ---" | tee -a "$LOGFILE" TMP_OUTPUT=$(mktemp) TMP_OUTPUT=$(mktemp) validate "$i" 2>&1 | tee $TMP_OUTPUT validate "$i" 2>&1 | tee $TMP_OUTPUT Loading