summaryrefslogtreecommitdiff
path: root/pkg/api/Makefile
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-04-07 09:18:23 -0700
committerJhon Honce <jhonce@redhat.com>2021-04-07 09:18:23 -0700
commit9b35262ca25a22e2bcbf1a48443b1151bc292cbb (patch)
tree204fdde92c78df90e50b0674192e3bcc4426563d /pkg/api/Makefile
parent51b23be38b1018f5cee06e75dc481b5e070d6b41 (diff)
downloadpodman-9b35262ca25a22e2bcbf1a48443b1151bc292cbb.tar.gz
podman-9b35262ca25a22e2bcbf1a48443b1151bc292cbb.tar.bz2
podman-9b35262ca25a22e2bcbf1a48443b1151bc292cbb.zip
[CI:DOCS] Update swagger definition of inspect manifest
* Changed reference in swagger to correct struture that was being returned. * Added summary to ManifestAddLibpod to clean up generated web site * Added serve target to Makefile, to aid in debugging generated web site Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/Makefile')
-rw-r--r--pkg/api/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/api/Makefile b/pkg/api/Makefile
index 6b24bfd83..6da5fb57e 100644
--- a/pkg/api/Makefile
+++ b/pkg/api/Makefile
@@ -5,6 +5,9 @@ SWAGGER_OUT ?= swagger.yaml
validate: ${SWAGGER_OUT}
swagger validate ${SWAGGER_OUT}
+serve: ${SWAGGER_OUT}
+ swagger serve -F redoc -p=8080 swagger.yaml
+
.PHONY: ${SWAGGER_OUT}
${SWAGGER_OUT}:
# generate doesn't remove file on error