Generate api/types:Port from swagger spec.
Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: f06d8d6db991199ea5e5fcf527ff96f0d00c3a45 Component: engine
This commit is contained in:
@ -142,4 +142,5 @@ win: build ## cross build the binary for windows
|
||||
swagger-gen:
|
||||
docker run --rm -v $(PWD):/work -w /work quay.io/goswagger/swagger \
|
||||
generate model -m "types" -f api/swagger.yaml -t api/ --skip-validator \
|
||||
-n Volume
|
||||
-n Volume \
|
||||
-n Port
|
||||
|
||||
Reference in New Issue
Block a user