(configuration?: Configuration)
| 29 | * @export |
| 30 | */ |
| 31 | export const CrateApiAxiosParamCreator = function (configuration?: Configuration) { |
| 32 | return { |
| 33 | /** |
| 34 | * Homepage, for liveness check |
| 35 | * @summary Homepage, for liveness check |
| 36 | * @param {*} [options] Override http request option. |
| 37 | * @throws {RequiredError} |
| 38 | */ |
| 39 | databusHome: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => { |
| 40 | const localVarPath = `/databus`; |
| 41 | // use dummy base URL string because the URL constructor only accepts absolute URLs. |
| 42 | const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); |
| 43 | let baseOptions; |
| 44 | if (configuration) { |
| 45 | baseOptions = configuration.baseOptions; |
| 46 | } |
| 47 | |
| 48 | const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; |
| 49 | const localVarHeaderParameter = {} as any; |
| 50 | const localVarQueryParameter = {} as any; |
| 51 | |
| 52 | |
| 53 | |
| 54 | setSearchParams(localVarUrlObj, localVarQueryParameter); |
| 55 | let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; |
| 56 | localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; |
| 57 | |
| 58 | return { |
| 59 | url: toPathString(localVarUrlObj), |
| 60 | options: localVarRequestOptions, |
| 61 | }; |
| 62 | }, |
| 63 | } |
| 64 | }; |
| 65 | |
| 66 | /** |
| 67 | * CrateApi - functional programming interface |
no test coverage detected