awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.04k stars 197 forks source link

Add support for ApiGateway V2 version for the Gin adapter #91

Closed zoltanarvai closed 3 years ago

zoltanarvai commented 3 years ago

Issue #, if available: https://github.com/awslabs/aws-lambda-go-api-proxy/issues/60 - Contributes to the solution but does not solve it for all adapters.

Description of changes: Gin adapter only supports API Gateway V1 Payloads. This PR adds an adapter v2 alongside the v1 version without breaking anything building on the changes merged in v.0.10.0.

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

fergusstrange commented 3 years ago

Could do with this. Anything I can do to help get across the line?

zoltanarvai commented 3 years ago

I'm happy to add any changes if needed... but I need some eyes on this first