Closed feefladder closed 7 months ago
See #2411. Tested with the example:
test.json
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "enum": { "type": "array", "items": true } } }
script/quicktype --src test.json --src-lang schema --just-types -o test.ts
output:
export interface TestObject { enum?: any[]; }
I didn't look into how to test everything, but would be happy to do so if given a pointer
Thank you!
See #2411. Tested with the example:
test.json
:script/quicktype --src test.json --src-lang schema --just-types -o test.ts
output:
I didn't look into how to test everything, but would be happy to do so if given a pointer