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

Adds OperationName to API Gateway Proxy Request #224

Merged
merged 2 commits into from
Aug 20, 2019

Conversation

jmnarloch
Copy link
Contributor

operationName is included by API Gateway for API's that were imported through OpenAPI spec.

Issue #, if available:
N/A
Description of changes:
API Gateway APIGatewayProxyRequestContext varies depending on the way how the API is being created. If I use aws apigateway import-rest-api See. The model of the event used to call Lambda will contain additional attribute.

One of such attributes is operationName that will be populated from OpenAPI operationId attribute.

This pull request adds this additional field to allow handling it on the Lambda side.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

operationName is included by API Gateway for API's that were imported through OpenAPI spec.
@jmnarloch
Copy link
Contributor Author

@jackrk I will rebase the change and update the pull request.

@bmoffatt bmoffatt merged commit 460325b into aws:master Aug 20, 2019
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