github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/pkg/api/Makefile (about)

     1  export GO111MODULE=off
     2  
     3  SWAGGER_OUT ?= swagger.yaml
     4  
     5  validate: ${SWAGGER_OUT}
     6  	swagger validate ${SWAGGER_OUT}
     7  
     8  .PHONY: ${SWAGGER_OUT}
     9  ${SWAGGER_OUT}:
    10  	# generate doesn't remove file on error
    11  	rm -f ${SWAGGER_OUT}
    12  	swagger generate spec -o ${SWAGGER_OUT} -i tags.yaml -w ./ -m