I'm developing a mock server using koajs, and i would like to publish a service which lists developed APIs.
I use koa-router for mouting services.
And i would like somethink like:
var business_router = require('./controllers/router');
app.use(business_router.routes());
app.use(business_router.allowedMethods());
console.log(app.listRoutes());