serverless-associate-request-validator

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i serverless-associate-request-validator

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

13.9 kB

Total Files

4

Last publish

Collaborators

  • rrahul963