Allow matching a path variable with a different name: @httpLabel("foo") bar: String
#2286
Labels
feature-request
A feature should be added or improved.
Hi, I would like the
httpLabel
to allow matching a path variable with a different name than the input structure field name:The reason for this is because we had some paths defined as
/{badName}
and we wanted the new operations to use/{goodName}
(i.e, we want the input structures to have a field namedgoodName
, we don't care about the path variable name).However, after attempting this (with a Lambda + API Gateway integration), we run into an error like this:
The text was updated successfully, but these errors were encountered: