Skip to main content
Go to Latest
type alias OpenboxJsonRouteConfig
import { type OpenboxJsonRouteConfig } from "https://deno.land/x/openbox@1.2.7/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; }; }