diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-03-07 16:00:12 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-03-07 16:00:12 +0800 |
commit | d6d057c65d32a5c334329df200d003730cbbeb85 (patch) | |
tree | 7a725731f8143ca11f29441cb8a9125421e8c778 /newton | |
parent | 0fc4bfecefc6fed785147174253ee47dd540f5d4 (diff) |
Fix errors in swagger.json
Change-Id: Id60869b666cbf45e3e5888ce3ac0a2bbcae8d8c2
Issue-Id: MULTIVIM-18
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'newton')
-rw-r--r-- | newton/newton/swagger/multivim.image.swagger.json | 20 | ||||
-rw-r--r-- | newton/newton/swagger/multivim.volume.swagger.json | 4 |
2 files changed, 2 insertions, 22 deletions
diff --git a/newton/newton/swagger/multivim.image.swagger.json b/newton/newton/swagger/multivim.image.swagger.json index 6f8540d8..dcbba06b 100644 --- a/newton/newton/swagger/multivim.image.swagger.json +++ b/newton/newton/swagger/multivim.image.swagger.json @@ -262,26 +262,6 @@ "visibility": { "type": "string", "description": "public, private, shared, or community" - }, - "properties": { - "type": "array", - "description": "list of properties", - "items": { - "$ref": "#/definitions/VimImagePropertyInfo" - } - } - } - }, - "VimImagePropertyInfo": { - "type": "object", - "properties": { - "keyName": { - "type": "string", - "description": "property name" - }, - "value": { - "type": "string", - "description": "property value" } } }, diff --git a/newton/newton/swagger/multivim.volume.swagger.json b/newton/newton/swagger/multivim.volume.swagger.json index fe210441..c91deacb 100644 --- a/newton/newton/swagger/multivim.volume.swagger.json +++ b/newton/newton/swagger/multivim.volume.swagger.json @@ -364,9 +364,9 @@ "type": "string", "description": "volume UUID" }, - "deviceId": { + "device": { "type": "string", - "description": "device UUID" + "description": "device to be attached" }, "hostName": { "type": "string", |