Thanks to visit codestin.com
Credit goes to github.com

Skip to content

export/generate json schema #408

@enerjazzer

Description

@enerjazzer

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions