Setu-TS
    Preparing search index...

    Interface IOpenApiApi

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

    0.1.0

    interface IOpenApiApi {
        addSchema(name: string, schema: unknown): void;
    }
    Index
    • Contributes a named schema to the generated OpenAPI document.

      Parameters

      • name: string

        Component schema name

      • schema: unknown

        The schema (Zod schema by default)

      Returns void