Skip to content

Commit

Permalink
Merge pull request #49 from smutel/UpdateGoSwagger
Browse files Browse the repository at this point in the history
ci: Update go-swagger to v0.30.3
  • Loading branch information
smutel authored Oct 22, 2022
2 parents 731f61a + befbbef commit e9d6f9a
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 @@ -71,7 +71,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.30.2/swagger_linux_amd64 -o swagger
curl -sL https://github.com/go-swagger/go-swagger/releases/download/v0.30.3/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 e9d6f9a

Please sign in to comment.