serverless-remove-default-form-requesttemplate-plugin
v1.0.1
Published
Serverless Plugin to remove the default application/x-www-form-urlencoded request templates from AWS API Methods.
Downloads
2
Readme
serverless-remove-default-form-requesttemplate-plugin
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.