OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "crossref", | 3 "namespace": "crossref", |
4 "description": "The crossref API.", | 4 "description": "The crossref API.", |
5 "dependencies": ["simple_api"], | 5 "dependencies": ["simple_api"], |
6 "types": [ | 6 "types": [ |
7 { | 7 { |
8 "id": "CrossrefType", | 8 "id": "CrossrefType", |
9 "type": "object", | 9 "type": "object", |
10 "properties": { | 10 "properties": { |
11 "testType": { | 11 "testType": { |
12 "$ref": "simple_api.TestType", | 12 "$ref": "simple_api.TestType" |
| 13 }, |
| 14 "testEnumRequired": { |
| 15 "$ref": "simple_api.TestEnum" |
| 16 }, |
| 17 "testEnumOptional": { |
| 18 "$ref": "simple_api.TestEnum", |
| 19 "optional": true |
| 20 }, |
| 21 "testEnumOptionalExtra": { |
| 22 "$ref": "simple_api.TestEnum", |
13 "optional": true | 23 "optional": true |
14 } | 24 } |
15 } | 25 } |
16 } | 26 } |
17 ], | 27 ], |
18 "functions": [ | 28 "functions": [ |
19 { | 29 { |
20 "name": "testTypeOptionalParam", | 30 "name": "testTypeOptionalParam", |
21 "type": "function", | 31 "type": "function", |
22 "description": "Takes TestType as a param.", | 32 "description": "Takes TestType as a param.", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 { | 77 { |
68 "name": "callback", | 78 "name": "callback", |
69 "type": "function", | 79 "type": "function", |
70 "parameters": [] | 80 "parameters": [] |
71 } | 81 } |
72 ] | 82 ] |
73 } | 83 } |
74 ] | 84 ] |
75 } | 85 } |
76 ] | 86 ] |
OLD | NEW |