class OpenApiCodegenError
extends Error
Since 0.1.0

Thrown by generateOpenApiClient() with path/method diagnostics when the OpenAPI document is malformed or contains unsupported constructs.

Constructors

OpenApiCodegenError(
message: string,
path?: string,
method?: string
)

Properties

readonly
method: string | undefined
readonly
path: string | undefined

Usage

import { OpenApiCodegenError } from "sdk/src/index.ts";