From 984dea1ac8a2d8cc12e3121d1f020ba79a2a9fe4 Mon Sep 17 00:00:00 2001 From: Shuto Yukawa Date: Tue, 31 Mar 2026 17:49:06 +0900 Subject: [PATCH] docs(apigateway): fix "a the" to "the" in JSDoc comments Fix duplicate article "a the" to "the" in JSDoc comments for StepFunctionsRestApi and LambdaRestApi. --- packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts | 2 +- packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts b/packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts index 5ed09127aa925..26c3156a7cb6b 100644 --- a/packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts +++ b/packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts @@ -15,7 +15,7 @@ export interface LambdaRestApiProps extends RestApiProps { /** * The default Lambda function that handles all requests from this API. * - * This handler will be used as a the default integration for all methods in + * This handler will be used as the default integration for all methods in * this API, unless specified otherwise in `addMethod`. */ readonly handler: lambda.IFunction; diff --git a/packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts b/packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts index 5924f52bfd7d8..fa8908a8bbd66 100644 --- a/packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts +++ b/packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts @@ -17,7 +17,7 @@ export interface StepFunctionsRestApiProps extends RestApiProps { /** * The default State Machine that handles all requests from this API. * - * This stateMachine will be used as a the default integration for all methods in + * This stateMachine will be used as the default integration for all methods in * this API, unless specified otherwise in `addMethod`. */ readonly stateMachine: sfn.IStateMachine;