A simple script used to update the default AWS API Gateway response models.
To run this project you need to have:
- src/response.ts - Main file.
- Build the project:
npm run build
- Run the following command specifying with the AWS API resource id and the associated region as parameters.
node -e 'require("./dist/index").updateApiDefaultErrorMessageModels("<restApiId>", "<awsRegion>")'