fork of hey-api/openapi-ts because I need some additional things
1{
2 "openapi": "3.1.0",
3 "info": {
4 "title": "OpenAPI 3.1.0 validators circular reference example",
5 "version": "1"
6 },
7 "components": {
8 "schemas": {
9 "Foo": {
10 "properties": {
11 "foo": {
12 "$ref": "#/components/schemas/Bar"
13 }
14 },
15 "type": "object"
16 },
17 "Bar": {
18 "properties": {
19 "bar": {
20 "items": {
21 "$ref": "#/components/schemas/Bar"
22 },
23 "type": "array"
24 }
25 },
26 "type": "object"
27 },
28 "Baz": {
29 "$ref": "#/components/schemas/Qux"
30 },
31 "Qux": {
32 "description": "description caused circular reference error",
33 "$ref": "#/components/schemas/Baz"
34 }
35 }
36 }
37}