a-s-o / koa-docs

An automatic documentation generator for koa.js APIs
MIT License
79 stars 16 forks source link

How add description to fields and queries #14

Closed ghost closed 7 years ago

ghost commented 7 years ago

If I add description throw error Cannot read property '_set' of undefined

query: {
  title: {
    type: t.string(),
    description: 'Brands title',
  },
},