Skip to content

Conversation

aki-kii
Copy link
Contributor

@aki-kii aki-kii commented Aug 21, 2025

Issue # (if applicable)

Closes #.

Reason for this change

A property in L1 construct was not in L2 construct.

Description of changes

Add disableSchemaValidation property to WebSocketApiProps and set in the CfnApi constructor.

Describe any new or updated permissions being added

Description of how you validated changes

Added both unit and integration tests.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team August 21, 2025 08:23
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 labels Aug 21, 2025
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@aki-kii aki-kii force-pushed the apigatewayv2-disableschemavalidation branch 2 times, most recently from cdb39c2 to 45faf65 Compare August 21, 2025 15:40
@aws-cdk-automation aws-cdk-automation dismissed their stale review August 21, 2025 15:42

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aki-kii aki-kii force-pushed the apigatewayv2-disableschemavalidation branch from 45faf65 to bbb657c Compare August 22, 2025 00:44
Copy link
Contributor

@mazyu36 mazyu36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution.
Some minor comments.

});
```

For a detailed explanation of this function, including usage and examples, please refer to the [Generating ARN for Execute API](#generating-arn-for-execute-api) section under HTTP API.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line refers to the arnForExecuteApiV2.
The example and explanation for arnForExecuteApiV2 are separated by the disableSchemaValidation sentences, which should be relocated to improve readability.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Moved the disableSchemaValidation explanation to its own section to avoid interrupting the arnForExecuteApiV2 example and description flow.


/**
* Avoid validating models when creating a deployment.
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigatewayv2-api.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of adding this link?
It seems that this link is not specific to the adding property.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
I misunderstood the condition for when links are necessary, so I removed the redundant link.

Copy link
Contributor

@mazyu36 mazyu36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM

@aki-kii aki-kii changed the title feat(apigatewayv2): add disableSchemaValidation for websocket api feat(apigatewayv2): add disableSchemaValidation for Websocket api Sep 12, 2025
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Sep 12, 2025
@leonmk-aws leonmk-aws self-assigned this Sep 15, 2025
Copy link
Contributor

@leonmk-aws leonmk-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for you contribution !

Copy link
Contributor

mergify bot commented Sep 15, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Copy link
Contributor

mergify bot commented Sep 15, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit bc391ce into aws:main Sep 15, 2025
19 checks passed
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2025
@aki-kii aki-kii deleted the apigatewayv2-disableschemavalidation branch September 23, 2025 05:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants