glideapps / glideapps/quicktype
Generation of Folder with TypeScript as output ignores -s schema
Open
- Dominant language
- TypeScript
- Stars
- 13.9k
- Forks
- 1.2k
- Avg merge
- 8h 53m
- Merged PRs (30d)
- 369
Description
I am currently trying to generate typescript files from a folder of json schemas. However instead of recognizing the input as a json schema (with -s set explicitly) the input is determined as json and
```sh
quicktype -s schema ./schemas -o ./types/index.ts --just-types
```
results in
```ts
export interface MyInterface {
$schema: string;
$id: string;
title: string;
description: string;
properties: Properties;
}
```
When I process each file individually I don't have this problem.
Contributor guide
Assessment
This issue has not been assessed yet.