JSON-Schema documentation generator
Philosophy
Unlike many documentation generator we want to delegate as much as possible the logic on the theme side. It might be perceived as quite an unusual move but the direct consequence is that you'll never be limited by an intermediate representation of your raw data.
Since the raw data will always be a valid JSON-schema (the generator first validate it), the data structure won't change for a defined json-schema draft version and your interface is thus guaranteed.
❤️ Shameless plug
Install
npm install json-schema-documentation-generator --save
Basic usage
// Code below will generate aconst generator = ; ;
See full option
documentation parameter object.
Features
- schema samples
- theme support