Skip to content

Commit 984dea1

Browse files
committed
docs(apigateway): fix "a the" to "the" in JSDoc comments
Fix duplicate article "a the" to "the" in JSDoc comments for StepFunctionsRestApi and LambdaRestApi.
1 parent 012cf32 commit 984dea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-apigateway/lib/lambda-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface LambdaRestApiProps extends RestApiProps {
1515
/**
1616
* The default Lambda function that handles all requests from this API.
1717
*
18-
* This handler will be used as a the default integration for all methods in
18+
* This handler will be used as the default integration for all methods in
1919
* this API, unless specified otherwise in `addMethod`.
2020
*/
2121
readonly handler: lambda.IFunction;

packages/aws-cdk-lib/aws-apigateway/lib/stepfunctions-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface StepFunctionsRestApiProps extends RestApiProps {
1717
/**
1818
* The default State Machine that handles all requests from this API.
1919
*
20-
* This stateMachine will be used as a the default integration for all methods in
20+
* This stateMachine will be used as the default integration for all methods in
2121
* this API, unless specified otherwise in `addMethod`.
2222
*/
2323
readonly stateMachine: sfn.IStateMachine;

0 commit comments

Comments
 (0)