import { type OpenboxJsonRouteConfigToRouteConfig } from "https://deno.land/x/openbox@1.2.10/mod.ts";
Type Parameters
C extends OpenboxJsonRouteConfig<P>
definition: Omit<C, "request" | "response"> & { request: Omit<NonNullable<C["request"]>, "body"> & { body: undefined extends NonNullable<C["request"]>["body"] ? undefined : { content: { application/json: { schema: NonNullable<NonNullable<C["request"]>["body"]>; }; }; }; }; responses: { 200: Omit<C["response"], "body"> & (undefined extends C["response"]["body"] ? undefined : { content: { application/json: { schema: NonNullable<C["response"]["body"]>; }; }; }); }; }