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

x/hono/mod.ts>ToSchema

Ultrafast web framework for the Edges
Extremely Popular
Go to Latest
type alias ToSchema
import { type ToSchema } from "https://deno.land/x/hono@v3.6.0/mod.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; }