Skip to content

ReneVolution/serverless-remove-default-form-requesttemplate-plugin

Repository files navigation

serverless-remove-default-form-requesttemplate-plugin

npm license downloads codecov Build Status

A serverless plugin to remove all occurences of application/x-www-form-urlencoded request templates that are automagically added by serverless. The reason to remove this is to enforce API clients to use the application/json, which then can leverage JSON schema validation.

Usage

Install

$ yarn add serverless-remove-default-form-requesttemplate-plugin
$ npm install serverless-remove-default-form-requesttemplate-plugin

Configuration

plugins:
  - serverless-remove-default-form-requesttemplate-plugin

License

Feel free to use the code, it's released using the MIT license.

About

Serverless Framework plugin to remove all occurences of the default application/x-www-form-urlencoded request templates in AWS API Gateway.

Resources

License

Stars

Watchers

Forks

Packages

No packages published