json-schema-to-typescript
json-schema-to-typescript copied to clipboard
enhancement bcherny#543 - Prefix items support
Added optional --usePrefixItems flag that defaults to false.
When passed JSON schemas containing prefixItems and items keys are normalized as items and additionalItems, as per JSON Schema Draft 2020-12.
The draft also contains changes to the $recursiveRef and $recursiveAnchor keywords, which this PR does not deal with.
✔Tests added
@TheoAnastasiadis Any chance you are still able to work on this? I would find this really helpful for my project. Thanks!
Forgot about this completely. Will hopefully be free this weekend and I'll make the requested changes 🤞🤞