normaliseRoutes
normaliseRoutes(
config):NormalisedRoute[]
Defined in: packages/core/src/lambda/define.ts:103
Normalise any API/HTTP-API config to a flat list of routes with absolute
effective paths. The scalar arm yields exactly one route; the multi arm
yields routes.length routes with basePath composed. Used by both
constructs and the SDK so paths never diverge.
Parameters
Section titled “Parameters”config
Section titled “config”ApiLambdaConfig | HttpApiLambdaConfig
Returns
Section titled “Returns”© 2026 Axis Tech. Powered by axis-tech.co.