UNPKG

stoker

Version:

Utilities for hono and @hono/zod-openapi

13 lines (12 loc) 415 B
import type { ZodSchema } from "./types.ts"; declare const jsonContentOneOf: <T extends ZodSchema>(schemas: T[], description: string) => { content: { "application/json": { schema: { oneOf: (import("openapi3-ts/oas30.js").SchemaObject | import("openapi3-ts/oas30.js").ReferenceObject)[]; }; }; }; description: string; }; export = jsonContentOneOf;