boundfetch
    Preparing search index...

    Interface OpenAPIClientDeclarationOptions

    interface OpenAPIClientDeclarationOptions {
        baseUrl?: string;
        clientKey?: string;
        defaultBaseUrl?: string;
        strict?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseUrl?: string

    Highest priority; overrides any usable servers[0].url.

    clientKey?: string

    When set, defines OpenAPIClientDeclaration.key after slugification. When omitted, key comes from slugified info.title, or "default" if there is no title. Directory loading (@boundfetch/plugin-openapi/node) always sets this from the filename stem (without .json/.yaml/.yml), so keys match files, not info.title.

    defaultBaseUrl?: string

    Used only when neither baseUrl nor a usable servers[0].url is available (see OpenAPISpec).

    strict?: boolean