Skip to content

Commit

Permalink
Merge pull request #204 from RedHatInsights/download_openapi-generator
Browse files Browse the repository at this point in the history
Add download of openapi-generator script
  • Loading branch information
Jacob Lindgren committed Jul 14, 2020
2 parents f2d789b + b9a6e4e commit c7b58e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis_scripts/openapi-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
set -eu
set -o pipefail

curl -L https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/bin/utils/openapi-generator-cli.sh > ./openapi-generator-cli
chmod +x ./openapi-generator-cli
echo "openapi-generator-cli successfully downloaded"

if ! ver=$(./openapi-generator-cli version | tail -1); then
ver="4.3.1"
echo "Use default version ${ver} to validate"
Expand Down

0 comments on commit c7b58e1

Please sign in to comment.