fork of hey-api/openapi-ts because I need some additional things
1openapi: 3.1.0
2info:
3 title: OpenAPI 3.1.0 array items allOf example
4 version: '1'
5components:
6 schemas:
7 ArrayWithAllOfObjects:
8 type: array
9 items:
10 allOf:
11 - type: object
12 properties:
13 id:
14 type: integer
15 - type: object
16 properties:
17 name:
18 type: string
19 ArrayWithAllOfPrimitives:
20 type: array
21 items:
22 allOf:
23 - type: number
24 - type: string
25 ArrayWithAllOfRefs:
26 type: array
27 items:
28 allOf:
29 - $ref: '#/components/schemas/BaseModel'
30 - type: object
31 properties:
32 extra:
33 type: string
34 BaseModel:
35 type: object
36 properties:
37 id:
38 type: integer
39 createdAt:
40 type: string
41 format: date-time