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:
parent
84a39c0830
commit
bc75738545
4 changed files with 176 additions and 163 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue