le-validator2
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

Le Validator 2

original https://www.npmjs.com/package/le-validator npm downloads

Just a library to generate openapi3 while also do validation based on the openapi3 specification

TODO

  • seems like joi is quite good in validation, maybe we can parse the body and use joi to validate it
  • seperate the openapibuilder to another repo
  • the error message return from validatorBody should be able to transform to another language easily
  • add multipleOf and pattern to validatorQuery

Readme

Keywords

none

Package Sidebar

Install

npm i le-validator2

Weekly Downloads

15

Version

0.4.1

License

MIT

Unpacked Size

90.3 kB

Total Files

38

Last publish

Collaborators

  • difaagh