mirror of
https://github.com/containers/podman.git
synced 2026-03-27 19:13:49 -04:00
Replace github.com/docker/docker API imports with github.com/moby/moby across compat handlers, swagger models, and tests to align with upstream type definitions. Fixes: #27536. Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
16 lines
550 B
Makefile
16 lines
550 B
Makefile
SWAGGER_OUT ?= swagger.yaml
|
|
|
|
SWAGGER ?= ../../test/tools/build/swagger
|
|
|
|
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
|
|
rm -f ${SWAGGER_OUT}
|
|
$(SWAGGER) generate spec -c github.com/containers/podman -x github.com/sigstore/rekor -x github.com/moby/moby/api/types/network -x github.com/docker/docker/api/types/network -x github.com/moby/moby/api -o ${SWAGGER_OUT} -i tags.yaml -w ./ -m
|