Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/types.ts>ToSchema

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

Type Parameters

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