From aae533f1c3c0fe77344044430ee22af12c108751 Mon Sep 17 00:00:00 2001 From: Pieter Oliver Date: Fri, 22 Aug 2025 16:06:13 +0100 Subject: [PATCH 1/2] fix: a few pedantic typos in the readme & anchor --- README.md | 10 +++++----- lib/utils.test.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 612ef17..e5294f1 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ This Serverless Framework plugin supports the AWS service proxy integration feat - [Customizing request parameters](#customizing-request-parameters-1) - [Customizing request templates](#customizing-request-templates) - [Customize the Path Override in API Gateway](#customize-the-path-override-in-api-gateway) - - [Can use greedy, for deeper Folders](#can-use-greedy--for-deeper-folders) + - [Can use greedy, for deeper Folders](#can-use-greedy-for-deeper-folders) - [Customizing responses](#customizing-responses-1) - - [Allow Bindary Types](#allow-binary-type) + - [Allow Binary Types](#allow-binary-type) - [SNS](#sns) - [Customizing responses](#customizing-responses-2) - [DynamoDB](#dynamodb) @@ -51,7 +51,7 @@ serverless plugin install -n serverless-apigateway-service-proxy ## Supported AWS services Here is a services list which this plugin supports for now. But will expand to other services in the feature. -Please pull request if you are intersted in it. +Please pull request if you are interested in it. - Kinesis Streams - SQS @@ -351,11 +351,11 @@ custom: ``` This will result in API Gateway setting the Path Override attribute to `{bucket}/{folder}/{file}.xml` -So for example if you navigate to the API Gatway endpoint `/language/en` it will fetch the file in S3 from `{bucket}/language/en.xml` +So for example if you navigate to the API Gateway endpoint `/language/en` it will fetch the file in S3 from `{bucket}/language/en.xml` ##### Can use greedy, for deeper Folders -The forementioned example can also be shortened by a greedy approach. Thanks to @taylorreece for mentioning this. +The aforementioned example can also be shortened by a greedy approach. Thanks to @taylorreece for mentioning this. ```yaml custom: diff --git a/lib/utils.test.js b/lib/utils.test.js index 1171f98..2be6c2e 100644 --- a/lib/utils.test.js +++ b/lib/utils.test.js @@ -22,7 +22,7 @@ describe('#utils()', () => { }) describe('#getAllServiceProxies()', () => { - it('should return this plugin configutration', () => { + it('should return this plugin configuration', () => { serverless.service.custom = { apiGatewayServiceProxies: [ { From 31df6baa8ace1f5db294c53a5a4a9f7657b5f829 Mon Sep 17 00:00:00 2001 From: Pieter Oliver Date: Wed, 10 Sep 2025 15:59:49 +0100 Subject: [PATCH 2/2] fix: casing of message --- lib/index.js | 2 +- lib/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 574ab71..3af5616 100644 --- a/lib/index.js +++ b/lib/index.js @@ -146,7 +146,7 @@ class ServerlessApigatewayServiceProxy { let serviceProxyMessages = '' const endpointInfo = this.gatheredData.info.endpoints - message += `${chalk.yellow.underline('Serverless APIGateway Service Proxy OutPuts')}\n` + message += `${chalk.yellow.underline('Serverless APIGateway Service Proxy Outputs')}\n` message += `${chalk.yellow('endpoints:')}` proxies.forEach((serviceProxy) => { diff --git a/lib/index.test.js b/lib/index.test.js index f0ac5fc..904569e 100644 --- a/lib/index.test.js +++ b/lib/index.test.js @@ -375,7 +375,7 @@ describe('#index()', () => { } const expectedMessage = `${chalk.yellow.underline( - 'Serverless APIGateway Service Proxy OutPuts' + 'Serverless APIGateway Service Proxy Outputs' )} ${chalk.yellow('endpoints:')} POST - https://xxxxxx.execute-api.us-east-1.amazonaws.com/dev/kinesis