summaryrefslogtreecommitdiff
path: root/pkg/api/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-07 13:39:14 -0400
committerGitHub <noreply@github.com>2021-04-07 13:39:14 -0400
commit5994377bd07e6e3bcb02c0f760d128933d1b9cd9 (patch)
treeeffd90d2033695ab9782195b840927950bf444b5 /pkg/api/Makefile
parentf44645aad6822aee27c241f2f0f43bdbc652dc0a (diff)
parent9b35262ca25a22e2bcbf1a48443b1151bc292cbb (diff)
downloadpodman-5994377bd07e6e3bcb02c0f760d128933d1b9cd9.tar.gz
podman-5994377bd07e6e3bcb02c0f760d128933d1b9cd9.tar.bz2
podman-5994377bd07e6e3bcb02c0f760d128933d1b9cd9.zip
Merge pull request #9966 from jwhonce/wip/operation_id
[CI:DOCS] Update swagger definition of inspect manifest
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