UNPKG

honestjs

Version:

HonestJS - a modern web framework built on top of Hono

43 lines (42 loc) 783 B
import type { ParameterMetadata } from './parameter-metadata.interface'; /** * Route information for registered routes */ export interface RouteInfo { /** * Controller name */ controller: string | symbol; /** * Handler method name */ handler: string | symbol; /** * HTTP method */ method: string; /** * Effective prefix */ prefix: string; /** * Effective version */ version?: string; /** * Controller route path */ route: string; /** * Method path */ path: string; /** * Complete path (prefix + version + route + path) */ fullPath: string; /** * Parameter metadata for the handler */ parameters: ParameterMetadata[]; }