Hi everyone,
I got this question a few times so I decided to write the answer to this
question here so it remains available for future reuse.
In order to save the OpenWRT JSON Schema to a file, you can enter these
commands in your python shell (netjsonconfig must be installed):
import json
from netjsonconfig import OpenWrt
schema = json.dumps(OpenWrt.schema, indent=4, sort_keys=True)
with open('openwrt-schema.json', 'w') as f:
f.write(schema)
Federico
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.