createProxyApi
Signature
createProxyApi: <T extends object>(
OpenApiClass: new (...params: ConstructorParameters<typeof SapccApi>
) => T,
axiosInstance?: AxiosInstance) => WithContext<WithoutDefaults<T>>Parameters
| Name | Required | Type | Description |
|---|---|---|---|
OpenApiClass | Required | new (...params: ConstructorParameters<typeof SapccApi>) => T | Generated SDK Class from OpenAPI standard fulfilling Alokai's requirements |
axiosInstance | Optional | AxiosInstance |
Returns
creates a Proxy object that behaves like an object, but wraps the OpenApiClass instance.
Referenced Types
SapccApiAxiosInstance- WithoutDefaults