Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: 5c2498fd3c41f4badb1788665886d30772537f73 Component: engine
17 lines
467 B
Bash
Executable File
17 lines
467 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
swagger generate model -f api/swagger.yaml \
|
|
-t api -m types --skip-validator \
|
|
-n Volume \
|
|
-n Port \
|
|
-n ImageSummary \
|
|
-n Plugin -n PluginDevice -n PluginMount -n PluginEnv -n PluginInterfaceType \
|
|
-n ErrorResponse
|
|
|
|
swagger generate operation -f api/swagger.yaml \
|
|
-t api -s server -a types -m types \
|
|
-T api/templates --skip-responses --skip-parameters --skip-validator \
|
|
-n VolumesList \
|
|
-n VolumesCreate
|