Skip to content

lbertz02/pyang-json-altschema-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyang-json-altschema-plugin

This is a pyang JSON Schema output plugin. It takes YANG files and tries to produce a JSON Schema that validates JSON content similar to the payload as defined in RFC7951.

Here's an example when running from the test directory:

$ pyang --plugindir ../ -f json-altschema ./test-module.yang > test-module.jsonschema

It is a derivatin of the json-schema plugin. It is ultimately intended to produce less schema thatn the original plugin AND also map the schema to a form that can be used in Swagger.

About

A(nother) PYANG plugin for generationg json schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages