param-validator
v0.0.10
Published
Library that searches a controller file's comments for required params and returns a 400 with a list of missing params if they're not all supplied.
Downloads
8
Readme
express-param-validator
Express middleware library that parses controller files for comment blocks containing required parameter definitions. It then returns a 400 with a formatted message if any required params are not supplied in the request.