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:
Daniel Nephin
2016-10-03 14:49:49 -04:00
parent 07a14ff9a8
commit 247fb589b6
6 changed files with 44 additions and 21 deletions

View File

@ -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