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