Module

x/hono/mod.ts>ToSchema

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias ToSchema
import { type ToSchema } from "https://dotland.deno.dev/x/hono@v4.2.2/mod.ts";

Type Parameters

M extends string
P extends string
I extends Input["in"]
O
definition: Prettify<[K in P]: [K2 in Min keyof AddDollar<K2>]: { input: unknown extends I ? AddParam<{ }, P> : AddParam<I, P>; output: unknown extends O ? { } : O; }>