glideapps / glideapps/quicktype

One TS file from multiple schemas

Open
#2,487 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.9k
Forks
1.2k
Avg merge
8h 53m
Merged PRs (30d)
369

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.