File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/openapi-generator/src/main/resources/typescript-axios Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export const {{classname}}AxiosParamCreator = function (configuration?: Configur
189
189
localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query};
190
190
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
191
191
delete localVarUrlObj.search;
192
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...options.headers};
192
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...baseOptions.headers, ... options.headers};
193
193
{{#hasFormParams}}
194
194
localVarRequestOptions.data = localVarFormParams{{#vendorExtensions}}{{^multipartFormData}}.toString(){{/multipartFormData}}{{/vendorExtensions}};
195
195
{{/hasFormParams}}
You can’t perform that action at this time.
0 commit comments