b83d9bf6a9
Signed-off-by: Daniel Nephin <dnephin@docker.com>
23 lines
677 B
Bash
Executable file
23 lines
677 B
Bash
Executable file
#!/bin/sh
|
|
set -eu
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types --skip-validator -C api/swagger-gen.yaml \
|
|
-n Volume \
|
|
-n Port \
|
|
-n ImageSummary \
|
|
-n Plugin -n PluginDevice -n PluginMount -n PluginEnv -n PluginInterfaceType \
|
|
-n ErrorResponse \
|
|
-n IdResponse \
|
|
-n ServiceUpdateResponse
|
|
|
|
swagger generate operation -f api/swagger.yaml \
|
|
-t api -a types -m types -C api/swagger-gen.yaml \
|
|
-T api/templates --skip-responses --skip-parameters --skip-validator \
|
|
-n VolumesList \
|
|
-n VolumesCreate \
|
|
-n ContainerChanges \
|
|
-n ContainerCreate \
|
|
-n ContainerUpdate \
|
|
-n Authenticate \
|
|
-n ContainerWait
|