Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix availability dip from API MergeDefinitions property #3062

Merged
merged 4 commits into from
Mar 27, 2023

Conversation

GavinZZ
Copy link
Contributor

@GavinZZ GavinZZ commented Mar 27, 2023

Issue #, if available

Description of changes

There is a new availability dip that happens because customers input ANY/any/Any for event source API methods. In the SAM generated open api definition, we will create a x-amazon-apigateway-any-method.

This caused an availability dip because we're looking for any in dictionary and keyError happened. Fix it.

Description of how you validated changes

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

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

@GavinZZ GavinZZ marked this pull request as ready for review March 27, 2023 17:25
@GavinZZ GavinZZ requested a review from a team as a code owner March 27, 2023 17:25
@GavinZZ GavinZZ requested a review from aahung March 27, 2023 17:39
@GavinZZ GavinZZ changed the title Fix dip merge definitions fix: Fix dip merge definitions Mar 27, 2023
@GavinZZ GavinZZ changed the title fix: Fix dip merge definitions fix: Fix availability dip from API MergeDefinitions property Mar 27, 2023
@GavinZZ GavinZZ merged commit 58246bf into aws:develop Mar 27, 2023
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.

4 participants