| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "arrays", | 3 "namespace": "arrays", |
| 4 "description": "The arrays API.", | 4 "description": "The arrays API.", |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "EnumArrayType", | |
| 8 "type": "object", | |
| 9 "properties": { | |
| 10 "types": { | |
| 11 "type": "array", | |
| 12 "items": { | |
| 13 "type": "string", | |
| 14 "enum": ["one", "two", "three"] | |
| 15 } | |
| 16 } | |
| 17 } | |
| 18 }, | |
| 19 { | |
| 20 "id": "Enumeration", | 7 "id": "Enumeration", |
| 21 "type": "string", | 8 "type": "string", |
| 22 "enum": ["one", "two", "three"] | 9 "enum": ["one", "two", "three"] |
| 23 }, | 10 }, |
| 24 { | 11 { |
| 25 "id": "EnumArrayReference", | 12 "id": "EnumArrayReference", |
| 26 "type": "object", | 13 "type": "object", |
| 27 "properties": { | 14 "properties": { |
| 28 "types": { | 15 "types": { |
| 29 "type": "array", | 16 "type": "array", |
| 30 "items": { | 17 "items": { |
| 31 "$ref": "Enumeration" | 18 "$ref": "Enumeration" |
| 32 } | 19 } |
| 33 } | 20 } |
| 34 } | 21 } |
| 35 }, | 22 }, |
| 36 { | 23 { |
| 37 "id": "EnumArrayMixed", | 24 "id": "EnumArrayMixed", |
| 38 "type": "object", | 25 "type": "object", |
| 39 "properties": { | 26 "properties": { |
| 40 "inline_enums": { | |
| 41 "type": "array", | |
| 42 "items": { | |
| 43 "type": "string", | |
| 44 "enum": ["one", "two", "three"] | |
| 45 } | |
| 46 }, | |
| 47 "infile_enums": { | 27 "infile_enums": { |
| 48 "type": "array", | 28 "type": "array", |
| 49 "items": { | 29 "items": { |
| 50 "$ref": "Enumeration" | 30 "$ref": "Enumeration" |
| 51 } | 31 } |
| 52 }, | 32 }, |
| 53 "external_enums": { | 33 "external_enums": { |
| 54 "type": "array", | 34 "type": "array", |
| 55 "items": { | 35 "items": { |
| 56 "$ref": "enums.Enumeration" | 36 "$ref": "enums.Enumeration" |
| 57 } | 37 } |
| 58 } | 38 } |
| 59 } | 39 } |
| 60 }, | 40 }, |
| 61 { | 41 { |
| 62 "id": "OptionalEnumArrayType", | 42 "id": "OptionalEnumArrayType", |
| 63 "type": "object", | 43 "type": "object", |
| 64 "properties": { | 44 "properties": { |
| 65 "types": { | 45 "types": { |
| 66 "type": "array", | 46 "type": "array", |
| 67 "items": { | 47 "items": { |
| 68 "type": "string", | 48 "$ref": "Enumeration" |
| 69 "enum": ["one", "two", "three"] | |
| 70 }, | 49 }, |
| 71 "optional": true | 50 "optional": true |
| 72 } | 51 } |
| 73 } | 52 } |
| 74 }, | 53 }, |
| 75 { | 54 { |
| 76 "id": "BasicArrayType", | 55 "id": "BasicArrayType", |
| 77 "type": "object", | 56 "type": "object", |
| 78 "properties": { | 57 "properties": { |
| 79 "strings": { | 58 "strings": { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 "type": "array", | 244 "type": "array", |
| 266 "items": {"$ref": "Item"} | 245 "items": {"$ref": "Item"} |
| 267 } | 246 } |
| 268 ] | 247 ] |
| 269 } | 248 } |
| 270 ] | 249 ] |
| 271 } | 250 } |
| 272 ] | 251 ] |
| 273 } | 252 } |
| 274 ] | 253 ] |
| OLD | NEW |