quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

One TS file from multiple schemas

Open codan84 opened this issue 1 year ago • 0 comments

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?

codan84 avatar Feb 07 '24 17:02 codan84