Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

pathParameters in apigateway-http-api-proxy event are not recognized #209

Open
@MaheshVelankar

Description

@MaheshVelankar

I was expecting that in apigateway-http-api-proxy if the rawPath = /somepath/orderscheduling/{scheduleOrderGUID}
I want scheduleOrderGUID to get substituted with value = "some-guid-value-here"
so in the event json I provided as

"pathParameters": {
    "scheduleOrderGUID": "some-guid-value-here"
},

Thinking that scheduleOrderGUID will get substituted by some-guid-value-here.

However it does not. The path that reaches the mux is unsubstituted.

So I tried to take a look in the code however I did not find any mention of pathParameters in the go code. (There is code for putting in queryParameters ....but no code for pathParameters)

Is this correct?
How does one use the pathParameters object in the input event json ?

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions