bcherny/json-schema-to-typescript

$merge in schema produces empty typescript interface

Open

#282 opened on Mar 16, 2020

View on GitHub
 (4 comments) (1 reaction) (0 assignees)TypeScript (449 forks)github user discovery
help wantedin discussion

Repository metrics

Stars
 (3,302 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have a json schema using keyword $merge (to merge two subschemas, where allof fails due to the 'additionalProperties=false' issue). Passing it through the json-schema-to-typescript gives an empty interface.

Contributor guide