fork of hey-api/openapi-ts because I need some additional things
1{
2 "openapi": "3.1.0",
3 "info": {
4 "version": "1.0.0"
5 },
6 "components": {
7 "schemas": {
8 "Foo": {
9 "type": "object",
10 "properties": {
11 "foo": {
12 "type": "string"
13 },
14 "baz": {
15 "type": "string"
16 }
17 }
18 },
19 "Bar": {
20 "type": "object",
21 "allOf": [
22 {
23 "$ref": "#/components/schemas/Foo"
24 }
25 ],
26 "properties": {
27 "bar": {
28 "type": "number"
29 }
30 },
31 "required": ["foo", "bar", "baz"]
32 }
33 }
34 }
35}