fork of hey-api/openapi-ts because I need some additional things
at main 54 lines 853 B view raw
1openapi: 3.1.1 2info: 3 title: OpenAPI 3.1.1 enum names values example 4 version: '1' 5components: 6 schemas: 7 1-10: 8 enum: 9 - 1-10 10 - 11-20 11 type: string 12 myFoo: 13 enum: 14 - myFoo 15 - myBar 16 type: string 17 MyFoo: 18 enum: 19 - MyFoo 20 - MyBar 21 type: string 22 Foo: 23 enum: 24 - foo 25 - bar 26 - null 27 - '' 28 - true 29 - false 30 type: 31 - string 32 - 'null' 33 Numbers: 34 enum: 35 - 100 36 - 200 37 - 300 38 - -100 39 - -200 40 - -300 41 type: number 42 Arrays: 43 enum: 44 - - foo 45 - - bar 46 - - baz 47 type: array 48 MyFooRef: 49 type: object 50 properties: 51 foo: 52 type: array 53 items: 54 $ref: '#/components/schemas/MyFoo'