# ToSchema

**Kind:** Type

**Source:** [`src/types.ts`](https://github.com/honojs/hono/blob/main/src/types.ts#L2500)

## Definition

```ts
IsAny<RorO> extends true ? { [K in P]: { [K2 in M as AddDollar<K2>]: { input: AddParam<ExtractInput<I>, P> output: {} outputFormat: ResponseFormat status: StatusCode } } } : [RorO] extends [never] ? {} : [RorO] extends [Promise<void>] ? {} : { [K in P]: { [K2 in M as AddDollar<K2>]: Simplify< { input: AddParam<ExtractInput<I>, P> } & ToSchemaOutput<RorO, I> > } }
```
