1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add whitespace and create a script to run generation

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-10-04 11:28:23 -04:00
parent b06c352783
commit 02e1ffd76c
3 changed files with 53 additions and 12 deletions

8
hack/generate-swagger-api.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
set -eu
swagger generate model -f api/swagger.yaml \
-t api -m types --skip-validator \
-n Volume \
-n Port \
-n ImageSummary