Skip to content

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