1.0.0 • Published 6 years ago
serverless-associate-request-validator v1.0.0
serverless-associate-request-validator
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.
1.0.0
6 years ago