| Index: tools/json_schema_compiler/test/callbacks.json
|
| diff --git a/tools/json_schema_compiler/test/callbacks.json b/tools/json_schema_compiler/test/callbacks.json
|
| index 2f86c26e15e07c36ee913b0798d6c59cab33f172..dbd03c30aa55d6a99b7d2cdd823cdab7b16d1c1c 100644
|
| --- a/tools/json_schema_compiler/test/callbacks.json
|
| +++ b/tools/json_schema_compiler/test/callbacks.json
|
| @@ -2,7 +2,13 @@
|
| {
|
| "namespace": "callbacks",
|
| "description": "The callbacks API.",
|
| - "types": [],
|
| + "types": [
|
| + {
|
| + "id": "Enumeration",
|
| + "type": "string",
|
| + "enum": ["foo", "bar", "baz"]
|
| + }
|
| + ],
|
| "functions": [
|
| {
|
| "name": "returnsNothing",
|
| @@ -30,8 +36,7 @@
|
| "type": "object",
|
| "properties": {
|
| "state": {
|
| - "type": "string",
|
| - "enum": ["foo", "bar", "baz"]
|
| + "$ref": "Enumeration"
|
| }
|
| }
|
| }
|
| @@ -57,8 +62,7 @@
|
| "type": "object",
|
| "properties": {
|
| "state": {
|
| - "type": "string",
|
| - "enum": ["foo", "bar", "baz"]
|
| + "$ref": "Enumeration"
|
| }
|
| }
|
| }
|
|
|