Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.78 KB

File metadata and controls

32 lines (22 loc) · 1.78 KB

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.