mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
swagger: fix for new docker/moby module conflict
image got converted to the new docker modules which were finally renamed to moby[1]. Podman however still uses docker so now the swagger lookup seems to find duplicated types which in general breaks the generation so exclude the new module for now until we convert podman and fix the new type issues swagger found. [1] https://github.com/containers/container-libs/pull/459 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -12,4 +12,4 @@ serve: ${SWAGGER_OUT}
|
||||
${SWAGGER_OUT}:
|
||||
# generate doesn't remove file on error
|
||||
rm -f ${SWAGGER_OUT}
|
||||
$(SWAGGER) generate spec -x github.com/sigstore/rekor -x github.com/docker/docker/api/types/network -o ${SWAGGER_OUT} -i tags.yaml -w ./ -m
|
||||
$(SWAGGER) generate spec -x github.com/sigstore/rekor -x github.com/docker/docker/api/types/network -x github.com/moby/moby/api -o ${SWAGGER_OUT} -i tags.yaml -w ./ -m
|
||||
|
||||
Reference in New Issue
Block a user