issues
search
Cody2333
/
koa-swagger-decorator
using decorator to automatically generate swagger doc for koa-router
348
stars
81
forks
source link
feature: add missing string/number validations
#167
Closed
catsalive
closed
1 year ago
catsalive
commented
1 year ago
String validation checks added: minLength, maxLength, pattern
Number validation checks added: exclusiveMinimum, exclusiveMaximum, multipleOf
Added tests
Updated the examples to include one of each of the above settings
Other:
Fixed the README link for running examples (let me know if it should include v1 too?)
Updated the Expect type in check.ts to include some other missing properties
The pnpm lockfile got updated, I am using pnpm@7, but it looks like it updated the lockfileVersion
Let me know on anything you want me to revert!
Let me know on anything you want me to revert!