import type { Context } from "elysia"; import type { Parameter } from "./parameter.types"; import type { ResponseDefinition } from "./response.types"; /** * Input for documenting a route */ export interface DocumentedRouteInput { method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS" | "HEAD"; path: string; description?: string; summary?: string; responses?: Record; handler: (context: Context) => Promise | any; params?: Parameter[]; schemasRequest?: T; schemasResponse?: U; tags?: string[]; requiresAuth?: boolean; } //# sourceMappingURL=route.types.d.ts.map