fork of hey-api/openapi-ts because I need some additional things
at main 23 lines 429 B view raw
1{ 2 "openapi": "3.1.0", 3 "info": { 4 "title": "OpenAPI 3.1.0 enum null example", 5 "version": "1" 6 }, 7 "components": { 8 "schemas": { 9 "Foo": { 10 "enum": ["foo", "bar", null], 11 "type": ["string", "null"] 12 }, 13 "Bar": { 14 "enum": ["foo", "bar", null], 15 "type": "string" 16 }, 17 "Baz": { 18 "enum": ["foo", "bar"], 19 "type": ["string", "null"] 20 } 21 } 22 } 23}