File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11GIT_COMMITSHA = $(shell git rev-parse HEAD)
22IMAGE_NAME = "stripe/stripe-mock"
3+ OPENAPI_BRANCH ?= master
34
45all : test vet lint check-gofmt build
56
@@ -30,6 +31,6 @@ docker-run:
3031update-openapi-spec :
3132 rm -f ./embedded/openapi/spec3.json
3233 rm -f ./embedded/openapi/fixtures3.json
33- wget https://raw.githubusercontent.com/stripe/openapi/master /openapi/spec3.json -P ./embedded/openapi
34- wget https://raw.githubusercontent.com/stripe/openapi/master /openapi/fixtures3.json -P ./embedded/openapi
34+ wget https://raw.githubusercontent.com/stripe/openapi/$( OPENAPI_BRANCH ) /openapi/spec3.json -P ./embedded/openapi
35+ wget https://raw.githubusercontent.com/stripe/openapi/$( OPENAPI_BRANCH ) /openapi/fixtures3.json -P ./embedded/openapi
3536.PHONY : update-openapi-spec
You can’t perform that action at this time.
0 commit comments