alecthomas/voluptuous

export/generate json schema

開放

#408 建立於 2019年10月2日

 (1 則留言) (5 個反應) (0 位負責人)Python (236 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (1,850 顆星)
PR 合併指標
 (平均合併 61天 21小時) (30 天內合併 6 個 PR)

描述

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.

貢獻者指南