summaryrefslogtreecommitdiff
path: root/pkg/api/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/Makefile')
-rw-r--r--pkg/api/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/api/Makefile b/pkg/api/Makefile
index 5fb4e7da5..3d70376df 100644
--- a/pkg/api/Makefile
+++ b/pkg/api/Makefile
@@ -1,3 +1,5 @@
+SWAGGER_OUT ?= swagger.yaml
+
swagger:
- swagger generate spec -o swagger.yaml -w ./
+ swagger generate spec -o ${SWAGGER_OUT} -w ./
cat tags.yaml >> swagger.yaml