iya-sts
    Preparing search index...

    Class export=

    Builds zod schemas from JSON Schema.

    Index
    • The validator of an operation's request body.

      Parameters

      • document: string

        the document's file name part

      • operationId: string

        the operation

      Returns any

      the zod schema

    • An integer or number schema.

      Parameters

      • schema: Json

        the schema

      Returns any

      the zod schema

    • An object schema: additionalProperties: false refuses a member the schema does not name, and with no such keyword a member is dropped.

      Parameters

      • schema: Json

        the schema

      Returns any

      the zod schema

    • The zod schema of a JSON Schema.

      Parameters

      • schema: Json

        the schema

      Returns any

      the zod schema

    • Refuses a schema holding a keyword outside the ones listed.

      Parameters

      • schema: Json

        the schema

      • known: string[]

        the keywords this shape understands

      Returns void

    • The operation a document names.

      Parameters

      • document: string

        the document's file name part, such as account

      • operationId: string

        the operation

      Returns Json

      the operation's entry

    • The validator of an operation's query.

      Parameters

      • document: string

        the document's file name part

      • operationId: string

        the operation

      Returns any

      the zod schema

    • A string schema.

      Parameters

      • schema: Json

        the schema

      Returns any

      the zod schema