Skip to content

serverless plugin to associate custom request validator with the rest api

License

Notifications You must be signed in to change notification settings

rrahul963/serverless-associate-request-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-associate-request-validator

serverless

A serverless plugin to associate custom request validator with the API Gateway rest api generated by serverless.

Install

npm install --save-dev serverless-associate-request-validator

Add the plugin to your serverless.yml file:

plugins:
  - serverless-associate-request-validator

Configuration

Make sure you have defined only 1 resource of type AWS::ApiGateway::RequestValidator in the resources section of serverless configuration file. The plugin would read the resource and associate it with each method of the API Gateway rest api.

About

serverless plugin to associate custom request validator with the rest api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published