bcherny/json-schema-to-typescript
Vedi su GitHubAdd option for failing on unknown JSON Schema type
Open
#471 aperta il 28 lug 2022
enhancementgood first issuehelp wanted
Metriche repository
- Star
- (3302 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.