@karmaniverous/cached-axios
    Preparing search index...

    Function orvalMutator

    • Orval-compatible mutator that executes through the shared cache-aware instance.

      Characteristics

      • Always returns AxiosResponse<T> regardless of how the generator instantiates the generic parameter.
      • Calls through the AxiosInstance surface to avoid type mismatch with ACI's CacheRequestConfig generic parameters.
      • Shallow-merges options over config (options win).

      Type Parameters

      • T = unknown

        The expected response data type.

      • R = unknown

        The request body type (if any).

      Parameters

      Returns Promise<AxiosResponse<T, any>>

      A promise resolving to AxiosResponse<T>.