fork of hey-api/openapi-ts because I need some additional things
at main 28 lines 574 B view raw
1{ 2 "openapi": "3.1.0", 3 "info": { 4 "version": "1.0.0" 5 }, 6 "components": { 7 "schemas": { 8 "Foo": { 9 "properties": { 10 "foo": { "type": "string" }, 11 "bar": { "type": "string" }, 12 "baz": { "type": "string" } 13 }, 14 "required": ["foo"], 15 "oneOf": [ 16 { 17 "properties": { "bar": { "type": "string" } }, 18 "required": ["bar"] 19 }, 20 { 21 "properties": { "baz": { "type": "string" } }, 22 "required": ["baz"] 23 } 24 ] 25 } 26 } 27 } 28}