quicktype
quicktype copied to clipboard
One TS file from multiple schemas
I have a directory with multiple schemas, some of them $ref others:
schemas/
draft.json
new-draft.json
enums/
some-enum.json
Both draft and new-draft reference the enums/some-enum.json.
Is there a way I can convert this to 1 typescript file with interfaces/enums declared for each?