commit | b3ef1fd63b05d8228cbc802f159d15f771eecafd | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Thu May 12 20:49:39 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Jun 29 14:57:13 2016 +0000 |
tree | 382fdc3931132d18b7e5390fdedad87e84b27bcb | |
parent | 0b4e9dd720f1b83f138160afb41fbbd8f07713ee [diff] [blame] |
Fix GroupKey interpretation in REST Input string from REST should not be converted into byte array directly. Before: "1" -> ascii 49 -> 0x31 After: "0x01" -> 0x01 GroupKey is a byte array with arbitrary length and represented by hex string Change-Id: If27101f0e5522212c7e434fab58b66e67e9676d7
diff --git a/web/api/src/main/resources/definitions/Group.json b/web/api/src/main/resources/definitions/Group.json index 8a689a3..53d226e 100644 --- a/web/api/src/main/resources/definitions/Group.json +++ b/web/api/src/main/resources/definitions/Group.json
@@ -67,7 +67,7 @@ "appCookie": { "type": "string", "description": "application cookie", - "example": "1" + "example": "0x1234abcd" }, "buckets": { "type": "array",