| Index: tools/json_schema_compiler/test/simple_api.json
|
| diff --git a/tools/json_schema_compiler/test/simple_api.json b/tools/json_schema_compiler/test/simple_api.json
|
| index 068432d44246da424964f0e53023d568fc1d35e7..82d77b8da60f75677c21ea29d4cbca45c2512579 100644
|
| --- a/tools/json_schema_compiler/test/simple_api.json
|
| +++ b/tools/json_schema_compiler/test/simple_api.json
|
| @@ -122,6 +122,41 @@
|
| }
|
| ]
|
| }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "onIntegerFired",
|
| + "type": "function",
|
| + "description": "Fired when an integer is ready.",
|
| + "parameters": [
|
| + {
|
| + "name": "someInteger",
|
| + "type": "integer"
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "onStringFired",
|
| + "type": "function",
|
| + "description": "Fired when a string is ready.",
|
| + "parameters": [
|
| + {
|
| + "name": "someString",
|
| + "type": "string"
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "onTestTypeFired",
|
| + "type": "function",
|
| + "description": "Fired when a TestType is ready.",
|
| + "parameters": [
|
| + {
|
| + "name": "someTestType",
|
| + "$ref": "TestType"
|
| + }
|
| + ]
|
| + }
|
| ]
|
| }
|
| ]
|
|
|