dgeni-jsonschema
A Dgeni package for generating JSON Schema from JSDoc documentation in source code.
What does this do?
It uses the JSDoc markup to structure a JSON Schema and then renders it to the file. So, this anippet ...
/*** @name multyParameterComponent** @description* Here goes this component description** @param* @param* @param* @param* @param***/const componentConfig =bindings:title: '@'counter: '@'defaultOptional: '@?'list: '<'onlyOptional: '<?'controller: ComponentControllertemplateUrl: templateUrl;
... will be rendered as ...
Dgeni configurations
Todos
- Generate live example;
- Provide more configurations samples.