pyang-json-schema-plugin
pyang-json-schema-plugin copied to clipboard
Propagate more constraints
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", "mandatory").
Hi, @yentlvt91 ! You're right, it doesn't. Did you have a fix lying around somewhere?
Sure, I fixed it together with several other topics on a fork I made: https://github.com/yentlvt91/pyang-json-schema-plugin.