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/Applications.json b/web/api/src/main/resources/definitions/Applications.json index 32a225d..9e4f2eb 100644 --- a/web/api/src/main/resources/definitions/Applications.json +++ b/web/api/src/main/resources/definitions/Applications.json
@@ -66,7 +66,7 @@ "permissions": { "type": "array", "xml": { - "name": "hosts", + "name": "permissions", "wrapped": true }, "items": {