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.03k stars 197 forks source link

Added request PathParameter to context #154

Open reecerussell opened 1 year ago

reecerussell commented 1 year ago

Issue #, if available: #153

Description of changes:

Similar to how the stage variables support is implemented, I've added support for accessing path parameters through the request context and header.

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

reecerussell commented 1 year ago

Hey @sapessi, would it be possible to get a review on this?

I'm using a fork at the moment which is a bit painful 😜

reecerussell commented 8 months ago

@sapessi wanted to follow up on this, as this would be a good change to get in. Thanks :)