interface IOpenApiApi
Since 0.1.0

OpenAPI contribution surface. Schema values are unknown here; the OpenAPI plugin narrows them (Zod schemas by default).

Methods

addSchema(
name: string,
schema: unknown
): void

Contributes a named schema to the generated OpenAPI document.

Usage

import { type IOpenApiApi } from "common/src/index.ts";