Description
When generating a service, the default headers are set as follows:
public defaultHeaders = new Map();
However this does not match the type of the headers parameter in AxiosRequestConfig which is
openapi-generator version
5.2.1 - not a regression
Generation Details
The issue is present directly in the template of the service, located here:
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache
Suggest a fix
I have created a pr to address this
Description
When generating a service, the default headers are set as follows:
However this does not match the type of the headers parameter in
AxiosRequestConfigwhich isopenapi-generator version
5.2.1 - not a regression
Generation Details
The issue is present directly in the template of the service, located here:
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache
Suggest a fix
I have created a pr to address this