mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The `GraphDriverData` type is shared between images and containers, and putting it in either package would result in a circular import, so adding a new package for this type. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
54 lines
1.5 KiB
Bash
Executable File
54 lines
1.5 KiB
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 IdResponse \
|
|
-n Plugin \
|
|
-n PluginDevice \
|
|
-n PluginMount \
|
|
-n PluginEnv \
|
|
-n PluginInterfaceType
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/storage --skip-validator -C api/swagger-gen.yaml \
|
|
-n DriverData
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/container --skip-validator -C api/swagger-gen.yaml \
|
|
-n ContainerCreateResponse \
|
|
-n ContainerWaitResponse \
|
|
-n ContainerWaitExitError \
|
|
-n ChangeType \
|
|
-n FilesystemChange \
|
|
-n Port
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/image --skip-validator -C api/swagger-gen.yaml \
|
|
-n ImageDeleteResponseItem \
|
|
-n ImageSummary
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/network --skip-validator -C api/swagger-gen.yaml \
|
|
-n NetworkCreateResponse
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/volume --skip-validator -C api/swagger-gen.yaml \
|
|
-n Volume \
|
|
-n VolumeCreateOptions \
|
|
-n VolumeListResponse
|
|
|
|
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 ContainerTop \
|
|
-n ContainerUpdate \
|
|
-n ImageHistory
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types/swarm --skip-validator -C api/swagger-gen.yaml \
|
|
-n ServiceCreateResponse \
|
|
-n ServiceUpdateResponse
|