| Index: tools/json_schema_compiler/test/crossref.json
|
| diff --git a/tools/json_schema_compiler/test/crossref.json b/tools/json_schema_compiler/test/crossref.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3931cee88c61ca9896a45f35b77800de5b3562c7
|
| --- /dev/null
|
| +++ b/tools/json_schema_compiler/test/crossref.json
|
| @@ -0,0 +1,43 @@
|
| +[
|
| + {
|
| + "namespace": "crossref",
|
| + "types": [],
|
| + "functions": [
|
| + {
|
| + "name": "TestTypeOptionalParam",
|
| + "type": "function",
|
| + "description": "Takes TestType as a param.",
|
| + "parameters": [
|
| + {
|
| + "name": "testType",
|
| + "$ref": "TestType",
|
| + "optional": true
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getTestType",
|
| + "type": "function",
|
| + "description": "Return a TestType.",
|
| + "parameters": [
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "result",
|
| + "$ref": "TestType",
|
| + "description": "A TestType."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|