Skip to content

Commit

Permalink
feat: Update go-swagger to v0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Nov 16, 2021
1 parent 41d2380 commit ea5160b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/netbox_generate_client
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ echo "Check swagger definition ..."
jsonlint "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/go-netbox/netbox/swagger-${VERSION}.json"

echo "Get go-swagger and generate lib ..."
curl -sL https://github.com/go-swagger/go-swagger/releases/download/v0.27.0/swagger_linux_amd64 -o swagger
curl -sL https://github.com/go-swagger/go-swagger/releases/download/v0.28.0/swagger_linux_amd64 -o swagger
chmod 755 swagger
./swagger generate client -f "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/go-netbox/netbox/swagger-${VERSION}.json" -t "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/go-netbox/netbox" --copyright-file="$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/go-netbox/LICENSE"

Expand Down

0 comments on commit ea5160b

Please sign in to comment.