We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a2b5c commit 260375cCopy full SHA for 260375c
modules/swagger-codegen/src/main/resources/typescript-node/api.mustache
@@ -151,6 +151,7 @@ export class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{
151
static discriminator = undefined;
152
{{/discriminator}}
153
154
+ {{^isArrayModel}}
155
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
156
{{#vars}}
157
{
@@ -170,6 +171,7 @@ export class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{
170
171
return {{classname}}.attributeTypeMap;
172
{{/parent}}
173
}
174
+ {{/isArrayModel}}
175
176
177
{{#hasEnums}}
0 commit comments