Skip to content

Commit

Permalink
make axiosRunner property optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebolt committed Oct 16, 2024
1 parent eee8b72 commit 574a82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-client-axios/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export type OpenAPIClientAxiosOptions = {
operationMethod: UnknownOperationMethod,
operationToTransform: Operation,
) => UnknownOperationMethod;
axiosRunner: (axiosConfig: AxiosRequestConfig) => Promise<AxiosResponse>;
axiosRunner?: (axiosConfig: AxiosRequestConfig) => Promise<AxiosResponse>;
axiosConfigDefaults?: AxiosRequestConfig;
} & ({
axiosConfigDefaults?: AxiosRequestConfig;
Expand Down

0 comments on commit 574a82f

Please sign in to comment.