Paolo Escobar

Results 7 comments of Paolo Escobar

Hello, I encountered the same problem. `required` in `@body` is skipped. With debugger, I looked and in `node-modules/koa-swagger-decorator/lib/validate/index.ts`, line 19, the `expect` variable is: ``` { firstName: { type: "string"...

Looking at previous PR, I believe this is the PR that actually strips `required` field in `@body`: https://github.com/Cody2333/koa-swagger-decorator/pull/112 and prevents the validation for required fields. Might need to reconstruct the...

This can be closed as the new version now correctly validates the body of the requests.

Hello, interested in that one too :)

Hi, I can confirm those changes. I set up the Thunder Missile today and the changes I had to do in the script are exactly the same than this pull...

Hi, sorry to revive old thread, but I have the same issue. Did you find a way to fix it ?

Ok no problem. This can wait. I will see if I can look too. Thanks