Files
floci/docs
Mario Toffia 7ca109b595 fix(apigateway): route greedy resources below a path parameter (#6690)
A REST API resource such as /v1/admin/catalog/{kind}/{name+} never
matched: greedy resources were matched by the literal text prefix
"/v1/admin/catalog/{kind}/", which no request path starts with, and the
template matcher skipped greedy resources. Every parameterised resource
also ranked ahead of every greedy one.

Match every resource segment by segment and rank all matches the way
AWS does: more literal segments, then more segments before the greedy
parameter, then the leftmost literal. extractPathParams now yields the
parameters before a greedy one, so {kind} reaches the proxy event,
$input.params and integration parameter mappings.

Closes #6686
2026-10-27 10:24:07 -04:00
..
2026-03-15 17:43:56 -05:00