Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias OpenboxRouteConfig
import { type OpenboxRouteConfig } from "https://deno.land/x/openbox@1.1.8/types/spec.ts";

Type Parameters

optional
P extends string = string
definition: Pick<OperationObject,
| "summary"
| "tags"
| "description"
| "operationId"
> & { method: OpenboxRouteMethod; path: P; request?: { body?: OpenboxRequestBody; params?: Record<string, TSchema>; query?: Record<string, TSchema>; headers?: Record<string, TSchema>; }; responses?: { [statusCode: string]: OpenboxResponseConfig; }; }