interface RouteInfo
Since 0.1.0

Route information returned by IRouterApi.listRoutes.

Properties

HTTP method of the route.

readonly
path: string

Route path pattern (router-style with :param segments).

readonly
optional
owner: string

Name of the plugin that registered this route.

Absent when application code registered the route directly rather than through a plugin's register() method.

The route definition including handler, middleware, and schema.

Usage

import { type RouteInfo } from "common/src/index.ts";