The operations type, typically generated from your OpenAPI specification
The operations metadata object, typically generated from your OpenAPI specification. This contains type information and HTTP method details for each API endpoint.
Axios instance for making HTTP requests. Configure this with your base URL, authentication, and any global request/response interceptors.
OptionalqueryOptional TanStack Query client instance. If not provided, a default QueryClient with sensible defaults will be used.
Note: This accepts any QueryClient-like object that implements the required methods, ensuring compatibility across different versions of @tanstack/vue-query.
Configuration object for initializing the OpenAPI client.
This interface defines the required configuration to set up a type-safe OpenAPI client with Vue Query integration. It requires both the operations metadata (typically generated from your OpenAPI specification) and an Axios instance for making HTTP requests.
Template: AxiosConfig
The axios request configuration type (defaults to AxiosRequestConfig)
Example