koa-swagger
koa-swagger copied to clipboard
request + response sanitation/validation against swagger specs
If it's not an array, then put it in an array, matching the functionality of split, always guaranteeing an array with at least one element. I get that it seems...
I removed the yield before the body validation because it blocks the execution in my case and I can't see how this could be beneficial.
For some reason Circle CI can't checkout the master branch of the repo (git command i returned 128). I found an article with a similar issue, maybe the proposed solution...