fork of hey-api/openapi-ts because I need some additional things
1{
2 "swagger": "2.0",
3 "info": {
4 "title": "OpenAPI 2.0 enum names values example",
5 "version": "1"
6 },
7 "definitions": {
8 "1-10": {
9 "enum": ["1-10", "11-20"],
10 "type": "string"
11 },
12 "myFoo": {
13 "enum": ["myFoo", "myBar"],
14 "type": "string"
15 },
16 "MyFoo": {
17 "enum": ["MyFoo", "MyBar"],
18 "type": "string"
19 },
20 "Foo": {
21 "enum": ["foo", "bar", "", true, false],
22 "type": "string"
23 },
24 "Numbers": {
25 "enum": [100, 200, 300, -100, -200, -300],
26 "type": "number"
27 },
28 "Arrays": {
29 "enum": [["foo"], ["bar"], ["baz"]],
30 "type": "array"
31 }
32 }
33}