bcherny/json-schema-to-typescript
Auf GitHub ansehenAdd option for failing on unknown JSON Schema type
Open
#471 geöffnet am 28. Juli 2022
enhancementgood first issuehelp wanted
Repository-Metriken
- Stars
- (3.302 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Currently, the generator defaults to type { [k: string]: unknown; } if JSON Schema type is not a valid type. It would be helpful to have an option to make this fail the generation, i.e. throw an error instead of using this default value.