fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/skip-token 47 lines 1.1 kB view raw
1openapi: 3.0.3 2info: 3 title: OpenAPI 3.0.3 discriminator one of example 4 version: 1 5components: 6 schemas: 7 Foo: 8 oneOf: 9 - $ref: '#/components/schemas/Bar' 10 - $ref: '#/components/schemas/Baz' 11 discriminator: 12 propertyName: type 13 Baz: 14 allOf: 15 - $ref: '#/components/schemas/Qux' 16 Bar: 17 allOf: 18 - $ref: '#/components/schemas/Qux' 19 Spæcial: 20 allOf: 21 - $ref: '#/components/schemas/Qux' 22 Qux: 23 type: object 24 properties: 25 id: 26 type: string 27 type: 28 $ref: '#/components/schemas/Quux' 29 required: 30 - id 31 - type 32 Quux: 33 enum: 34 - Bar 35 - Baz 36 type: string 37 Quuz: 38 oneOf: 39 - $ref: '#/components/schemas/Bar' 40 - $ref: '#/components/schemas/Baz' 41 - $ref: '#/components/schemas/Spæcial' 42 discriminator: 43 propertyName: type 44 mapping: 45 bar: '#/components/schemas/Bar' 46 baz: '#/components/schemas/Baz' 47 'non-ascii': '#/components/schemas/Spæcial'