a-s-o / koa-docs

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

does not respect router.prefix #5

Closed kevinludwig closed 8 years ago

kevinludwig commented 8 years ago

the koa-joi-router allows you to specify a prefix for a group of routes. But the prefix is not rendered onto the routes in the generated docs.

a-s-o commented 8 years ago

Alright, this one was straight forward. Groups no accept an additional property called prefix which will be prefixed to the path when rendering. Hope that works.

Since this is a pretty low impact change I also published this to npm as v0.9.0 along with the other changes to dependencies and so on.

a-s-o commented 8 years ago

Closed in 658b19d