ajv-validator / ajv-validator/ajv-cli

Must you write code to get support for custom keywords/formats? [workaround available]

Aperta
#128 11 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
316
Fork
77
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Since this is a cli I was hoping I could just reference a `keywords.txt` file or `formats.txt` file, but it doesn't appear that's an option.

I'll try try to follow an example from the ajv-keywords repo.

Perhaps I could even tie together a text file option once I've figured this out a little bit more.

UPDATE: 2021/05/05 For those with a similar question, I've written an npm package to address this (although not with a lot of flexibility). The details are below in this [comment](https://github.com/ajv-validator/ajv-cli/issues/128#issuecomment-820381362)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.