Skip to content

Commit

Permalink
Merge branch 'release/1.7.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
Diana Ionita committed Jan 19, 2022
2 parents c3135b8 + 5ecdd53 commit e18439c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-api-gateway-caching",
"version": "1.7.4",
"version": "1.7.5",
"description": "A plugin for the serverless framework which helps with configuring caching for API Gateway endpoints.",
"main": "src/apiGatewayCachingPlugin.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/apiGatewayCachingPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ class ApiGatewayCachingPlugin {
type: 'object',
properties: {
caching: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
ttlInSeconds: { type: 'number' },
dataEncrypted: { type: 'boolean' },
perKeyInvalidation: {
type: 'object',
properties: {
requireAuthorization: { type: 'boolean' },
handleUnauthorizedRequests: {
Expand All @@ -89,6 +91,7 @@ class ApiGatewayCachingPlugin {
cacheKeyParameters: {
type: 'array',
items: {
type: 'object',
properties: {
name: { type: 'string' },
value: { type: 'string' }
Expand All @@ -106,6 +109,7 @@ class ApiGatewayCachingPlugin {
type: 'object',
properties: {
apiGatewayCaching: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
apiGatewayIsShared: { type: 'boolean' },
Expand All @@ -115,6 +119,7 @@ class ApiGatewayCachingPlugin {
ttlInSeconds: { type: 'number' },
dataEncrypted: { type: 'boolean' },
perKeyInvalidation: {
type: 'object',
properties: {
requireAuthorization: { type: 'boolean' },
handleUnauthorizedRequests: {
Expand All @@ -126,10 +131,12 @@ class ApiGatewayCachingPlugin {
additionalEndpoints: {
type: 'array',
items: {
type: 'object',
properties: {
method: { type: 'string' },
path: { type: 'string' },
caching: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
ttlInSeconds: { type: 'number' },
Expand Down

0 comments on commit e18439c

Please sign in to comment.