ajv-validator / ajv-validator/ajv
Implement a JSONDataType to make typescript conversion on json schema
Aperta
enhancement
- Lingua principale
- TypeScript
- Stelle
- 14.8k
- Fork
- 1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**What version of Ajv you are you using?**
8.6.4
**What problem do you want to solve?**
I want to dynamically infer ts types from a json schema, it will reduce the need for auto-generated file or code-duplication (define your interface 2 times, one for ts, one for ajv)
**What do you think is the correct solution to problem?**
Implement a type mapper like in JTDDataType from 'ajv/dist/jtd', and update readme/doc accordingly
**Will you be able to implement it?**
Yes
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.