koa-joi-router-docs
koa-joi-router-docs copied to clipboard
Does not support joi 17.3.0
Currently version 1.2.1 cant be used with joi 17.3.0 schemas. This would require an upgrade of chuyik/joi-to-swagger to support joi 17.3.0 or possibly a switch to Twipped/joi-to-swagger 5.1.0. I would appreciate it if that support for the latest joi version be added in the next release or as soon as is possible, thanks.
@asperry182 are there any alternatives?
Any updates here?
@dreamsparkx @AlexRypun @asperry182
I had exactly the same problem, so I made an update on this package (v2) here https://www.npmjs.com/package/koa-joi-router-docs-v2
Now it supporting latest Joi and migration is just to replace a package.
Also there is an extra feature to rename keys, like nullable
> x-nullable