john-doherty/jsdoc-to-json-schema

`@typedef` option

brettz9 opened this issue · 0 comments

Hi!

Looks like a useful library...

Might you consider offering a @typedef option to convert typedefs into JSON schema? They would not be as expressive, but one should be able to determine type, enum, default, required, and title/description (and possibly others like minimum if derived from a type name like PositiveInteger).