glideapps / glideapps/quicktype
-t/--top-level ignored when using directory input
Open
bug
- Dominant language
- TypeScript
- Stars
- 13.9k
- Forks
- 1.2k
- Avg merge
- 8h 53m
- Merged PRs (30d)
- 369
Description
Hello,
I have a folder containing many types, each one in its folder, like in the "Multiple JSON" example here https://app.quicktype.io/
The JSON Schema generated has only "definitions" but no top-level type.
I would like to set the top level type using the -t/--top-level option but it seems ignored.
Is it the attended behaviour?
When I use the -t/--top-level option with files input, it works as expected.
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.