Skip to content

Commit 33e8ed6

Browse files
author
squann
committed
incremented version and addressed header typing issue
1 parent e407004 commit 33e8ed6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNestjsClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class TypeScriptNestjsClientCodegen extends AbstractTypeScriptClientCodeg
4949
public static final String STRING_ENUMS = "stringEnums";
5050
public static final String STRING_ENUMS_DESC = "Generate string enums instead of objects for enum values.";
5151

52-
protected String nestVersion = "6.0.0";
52+
protected String nestVersion = "9.2.1";
5353
protected String npmRepository = null;
5454
protected String serviceSuffix = "Service";
5555
protected String serviceFileSuffix = ".service";

modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class {{classname}} {
3535
{{/withInterfaces}}
3636

3737
protected basePath = '{{{basePath}}}';
38-
public defaultHeaders: AxiosRequestHeaders = {};
38+
public defaultHeaders: Record<string, string> = {};
3939
public configuration = new Configuration();
4040

4141
constructor(protected httpClient: HttpService, @Optional() configuration: Configuration) {

0 commit comments

Comments
 (0)