MCPcopy
hub / github.com/Kong/insomnia / routeDisplayName

Function routeDisplayName

packages/insomnia/src/konnect/transform.ts:213–215  ·  view source on GitHub ↗
(route: { name: string | null; id: string })

Source from the content-addressed store, hash-verified

211}
212
213export function routeDisplayName(route: { name: string | null; id: string }): string {
214 return route.name ?? `Route ${route.id}`;
215}
216
217export function buildRequestName(route: { name: string | null; paths: string[] | null; id: string }): string {
218 const rawPath = route.paths?.[0];

Callers 5

syncGrpcRouteFunction · 0.90
syncWsRouteFunction · 0.90
syncHttpRouteFunction · 0.90
syncServiceWorkspaceFunction · 0.90
buildRequestNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected