Basic Usage
Assume that we need to validate the request body of deviceRouter.post('/device', ()=> {})
There are 3 steps to setup xpress-req-validator
define specs for the request
provide accurate configuration
apply the middleware
Last updated
Was this helpful?