fork of hey-api/openapi-ts because I need some additional things
at main 25 lines 424 B view raw
1{ 2 "openapi": "3.1.0", 3 "info": { 4 "version": "1.0.0" 5 }, 6 "components": { 7 "schemas": { 8 "WeirdEnum": { 9 "description": "should not produce duplicate null", 10 "oneOf": [ 11 { 12 "type": "string", 13 "enum": [""] 14 }, 15 { 16 "type": ["string", "null"] 17 }, 18 { 19 "type": "null" 20 } 21 ] 22 } 23 } 24 } 25}