mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b16b125bb4
This was broken by bf6a790f00
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
27 lines
777 B
Bash
Executable file
27 lines
777 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 ErrorResponse \
|
|
-n GraphDriverData \
|
|
-n IdResponse \
|
|
-n ImageDeleteResponseItem \
|
|
-n ImageSummary \
|
|
-n Plugin -n PluginDevice -n PluginMount -n PluginEnv -n PluginInterfaceType \
|
|
-n Port \
|
|
-n ServiceUpdateResponse \
|
|
-n Volume
|
|
|
|
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 Authenticate \
|
|
-n ContainerChanges \
|
|
-n ContainerCreate \
|
|
-n ContainerTop \
|
|
-n ContainerUpdate \
|
|
-n ContainerWait \
|
|
-n ImageHistory \
|
|
-n VolumeCreate \
|
|
-n VolumeList
|