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

Type Parameters

optional
P extends string = string
definition: Pick<OpenboxRouteConfig,
| "method"
| "summary"
| "tags"
| "description"
> & { path: P; request?: Omit<NonNullable<OpenboxRouteConfig["request"]>, "body"> & { body?: TSchema; }; response: { description: string; body?: TSchema; }; }