Skip to content

Chore: [AEA-6515] - unnecessary override of aws-cdk-lib#667

Merged
tstephen-nhs merged 1 commit intomainfrom
aea-6515-fix-method-responses-override
Apr 14, 2026
Merged

Chore: [AEA-6515] - unnecessary override of aws-cdk-lib#667
tstephen-nhs merged 1 commit intomainfrom
aea-6515-fix-method-responses-override

Conversation

@tstephen-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

Removed unnecessary (and identical) override of method responses provided by aws-cdk-lib.
The removal avoids warnings synthesising CDK in PSU.

@sonarqubecloud
Copy link
Copy Markdown

@tstephen-nhs tstephen-nhs marked this pull request as ready for review April 14, 2026 14:51
Copilot AI review requested due to automatic review settings April 14, 2026 14:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes an unnecessary methodResponses override in the API Gateway method configuration to rely on the default responses provided by aws-cdk-lib, avoiding CDK synthesis warnings.

Changes:

  • Deleted the explicit methodResponses block (200/400/500) passed to addMethod(...).
  • Kept the existing integrationResponses mapping templates and selection patterns unchanged.

@tstephen-nhs tstephen-nhs merged commit dd7598c into main Apr 14, 2026
16 checks passed
@tstephen-nhs tstephen-nhs deleted the aea-6515-fix-method-responses-override branch April 14, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants