diff options
Diffstat (limited to 'pkg/api/Makefile')
-rw-r--r-- | pkg/api/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/api/Makefile b/pkg/api/Makefile index 5fb4e7da5..8a1556800 100644 --- a/pkg/api/Makefile +++ b/pkg/api/Makefile @@ -1,3 +1,7 @@ +export GO111MODULE=off + +SWAGGER_OUT ?= swagger.yaml + swagger: - swagger generate spec -o swagger.yaml -w ./ + swagger generate spec -o ${SWAGGER_OUT} -w ./ cat tags.yaml >> swagger.yaml |