serverless-api-gateway-caching
Advanced tools
Comparing version 1.1.3 to 1.1.4-rc1
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "serverless-api-gateway-caching", | ||
"version": "1.1.3", | ||
"version": "1.1.4-rc1", | ||
"description": "A plugin for the serverless framework which helps with configuring caching for API Gateway endpoints.", | ||
@@ -5,0 +5,0 @@ "main": "src/apiGatewayCachingPlugin.js", |
@@ -0,0 +0,0 @@ # serverless-api-gateway-caching |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ const isEmpty = require('lodash.isempty'); |
@@ -51,3 +51,3 @@ const isEmpty = require('lodash.isempty'); | ||
for (let cacheKeyParameter of endpointSettings.cacheKeyParameters) { | ||
method.resource.Properties.RequestParameters[`method.${cacheKeyParameter.name}`] = true; | ||
method.resource.Properties.RequestParameters[`method.${cacheKeyParameter.name}`] = {}; | ||
method.resource.Properties.Integration.RequestParameters[`integration.${cacheKeyParameter.name}`] = `method.${cacheKeyParameter.name}`; | ||
@@ -54,0 +54,0 @@ method.resource.Properties.Integration.CacheKeyParameters.push(`method.${cacheKeyParameter.name}`); |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ const isEmpty = require('lodash.isempty'); |
@@ -0,0 +0,0 @@ module.exports = { |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19514
2