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