| Index: tools/json_schema_compiler/test/objects.json
|
| diff --git a/tools/json_schema_compiler/test/objects.json b/tools/json_schema_compiler/test/objects.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8fb20b408343726956dad03917c47b6b610ac730
|
| --- /dev/null
|
| +++ b/tools/json_schema_compiler/test/objects.json
|
| @@ -0,0 +1,60 @@
|
| +[
|
| + {
|
| + "namespace": "objects",
|
| + "types": [],
|
| + "functions": [
|
| + {
|
| + "name": "objectParam",
|
| + "type": "function",
|
| + "description": "Takes an object.",
|
| + "parameters": [
|
| + {
|
| + "name": "info",
|
| + "type": "object",
|
| + "properties": {
|
| + "strings": {
|
| + "type": "array",
|
| + "items": {"type": "string"}
|
| + },
|
| + "integer": {
|
| + "type": "integer"
|
| + },
|
| + "boolean": {
|
| + "type": "boolean"
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "returnsObject",
|
| + "description": "Returns an object.",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "info",
|
| + "type": "object",
|
| + "properties": {
|
| + "state": {
|
| + "type": "string",
|
| + "enum": ["foo", "bar", "baz"]
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
| +
|
|
|