pyang-json-schema-plugin icon indicating copy to clipboard operation
pyang-json-schema-plugin copied to clipboard

Pyang JSON Schema output plugin

Results 10 pyang-json-schema-plugin issues
Sort by recently updated
recently updated
newest added

pyang -f jsonschema [email protected] > [email protected] for this I'm getting the .jsonschema file but using this pyang --plugindir ../ -f jsonschema ./test-module.yang > test-module.jsonschema I'm not getting any data in...

Adding leaf nodes under a list property I have doesn't seem to be mapping to the JSON Schema required fields. Input: ```yang container interfaces { list interface { key name;...

Hi Team Can you please suggest me to how to generate a jsonschema file I'm getting the empty .jsonschema file and just runing this command pyang --plugindir ../ -f jsonschema...

pyang --plugindir ../ -f jsonschema ./test-simple-module.yang > test-simple-module.jsonschema usage: pyang [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: pyang --help [cmd1 cmd2 ...] or: pyang --help-commands or: pyang cmd --help error:...

Hi, I am getting no output for below YANG model. https://github.com/openconfig/public/blob/master/release/models/vlan/openconfig-vlan.yang root@ubuntu-I08:/opt# pyang -p openconfig/release/models/ -f jsonschema openconfig/release/models/vlan/openconfig-vlan.yang { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "description": "Generated by pyang from module openconfig-vlan",...

It seems that no additional type constraints are generated, such as "minimum", "maximum", "minLength", "required", ... even though this information is present in the Yang model (e.g., as "range", "max-elements",...

Hi, I am trying to convert a set of yang files in my directory: pyang -p yang/ -f json-schema --pliugindir /home/externals/pyang-json-schema-plugin/ yang/* but this command is throwing "too many files...

Hello, The generated JSON schema is allowing additional properties from what is defined in the Yang module and key leafs are not required. How about making the schema more strict...

Hi, First of all, thanks for writing this very interesting piece of software. I'm opening this issue because this script is generating empty JSON schemas for some YANG models like...