bcherny/json-schema-to-typescript

Add option for failing on unknown JSON Schema type

Open

#471 opened on 2022年7月28日

GitHub で見る
 (3 comments) (2 reactions) (0 assignees)TypeScript (449 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (3,302 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド