summaryrefslogtreecommitdiff
path: root/pkg/api/Makefile
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-01-17 09:41:40 -0600
committerChris Evich <cevich@redhat.com>2020-01-17 15:41:33 -0500
commit9be6f30a42a8737f7e853dc3333b627242a962ab (patch)
tree81de580baddb004e7cb18f1111f65577f13cdef8 /pkg/api/Makefile
parentab7e1a4c400f4bdb47ab49a2a0c8ef9508c68e02 (diff)
downloadpodman-9be6f30a42a8737f7e853dc3333b627242a962ab.tar.gz
podman-9be6f30a42a8737f7e853dc3333b627242a962ab.tar.bz2
podman-9be6f30a42a8737f7e853dc3333b627242a962ab.zip
post-process swagger yaml for publish
Signed-off-by: baude <bbaude@redhat.com> Signed-off-by: Chris Evich <cevich@redhat.com>
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