| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "objects", | 3 "namespace": "objects", |
| 4 "types": [], | 4 "types": [], |
| 5 "functions": [ | 5 "functions": [ |
| 6 { | 6 { |
| 7 "name": "objectParam", | 7 "name": "objectParam", |
| 8 "type": "function", | 8 "type": "function", |
| 9 "description": "Takes an object.", | 9 "description": "Takes an object.", |
| 10 "parameters": [ | 10 "parameters": [ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 "state": { | 47 "state": { |
| 48 "type": "string", | 48 "type": "string", |
| 49 "enum": ["foo", "bar", "baz"] | 49 "enum": ["foo", "bar", "baz"] |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 ] | 53 ] |
| 54 } | 54 } |
| 55 ] | 55 ] |
| 56 } | 56 } |
| 57 ], |
| 58 "events": [ |
| 59 { |
| 60 "name": "onObjectFired", |
| 61 "type": "function", |
| 62 "description": "Fired when an object is ready.", |
| 63 "parameters": [ |
| 64 { |
| 65 "name": "someObject", |
| 66 "type": "object", |
| 67 "properties": { |
| 68 "state": { |
| 69 "type": "string", |
| 70 "enum": ["foo", "bar", "baz"] |
| 71 } |
| 72 } |
| 73 } |
| 74 ] |
| 75 } |
| 57 ] | 76 ] |
| 58 } | 77 } |
| 59 ] | 78 ] |
| 60 | 79 |
| OLD | NEW |