commit | c67ca3cf7a2e4e6042782d11a288f95f74a76afc | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Thu Jan 21 13:42:19 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Jan 21 23:21:54 2016 +0000 |
tree | 706a1d3e7bded190ac0bfac14d4e0c1adbc23e47 | |
parent | 32347e0351c6e0db520aaea6d743edca535bfbed [diff] [blame] |
Make results of application codec and swagger doc desc consistent Application codec returns permissions, requiredApps and features in string format. However, based on swagger doc, the codec is supposed to return array. This commit fixes the type inconsistent issue raised in application rest api. Change-Id: If47338b287518a981c98ff89ca543802579c7610
diff --git a/web/api/src/main/resources/definitions/Application.json b/web/api/src/main/resources/definitions/Application.json index 9be4fe4..d55f7b9 100644 --- a/web/api/src/main/resources/definitions/Application.json +++ b/web/api/src/main/resources/definitions/Application.json
@@ -53,7 +53,7 @@ "permissions": { "type": "array", "xml": { - "name": "hosts", + "name": "permissions", "wrapped": true }, "items": {