Skip to content

pathSlug

Open in ChatGPTOpen in Claude

pathSlug(effectivePath): string

Defined in: packages/core/src/lambda/define.ts:134

Slug a route path for HTTP API v2 logical-ID disambiguation: every run of non-word characters collapses to a single underscore, leading/trailing underscores trimmed (D3). e.g. “/session/{id}” → “session_id”.

string

string

© 2026 Axis Tech. Powered by axis-tech.co.