alecthomas / alecthomas/voluptuous

export/generate json schema

Aperta
#408 1 commento 5 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Python
Stelle
1.9k
Fork
237
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Could you please add an option to get the schema as json schema?
I tried using a few 3rd-party libraries that claimed to be able to work with voluptuous and they all failed miserably.
I believe the best is to have this feature built-in as you know how to access/traverse the internals of voluptuous schema with all the validations, nestings etc.
That would be especially useful with modern IDEs that can validate yaml files versus json schema which could be automatically regenerated on any change of the voluptuous schema - you could immediately see the effect of your changes.

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.