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

Generate ErrorResponse struct from swagger spec.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-10-06 12:40:38 -04:00
parent 84a39c0830
commit bc75738545
4 changed files with 176 additions and 163 deletions

View file

@ -6,7 +6,8 @@ swagger generate model -f api/swagger.yaml \
-n Volume \
-n Port \
-n ImageSummary \
-n Plugin -n PluginDevice -n PluginMount -n PluginEnv -n PluginInterfaceType
-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 \