forked from loafle/openapi-generator-original
Add 'constructor' to reserved words (#13725)
This commit is contained in:
parent
31ea76b58b
commit
02c31bfd7d
@ -87,6 +87,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>char</li>
|
<li>char</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
<li>const</li>
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
<li>debugger</li>
|
<li>debugger</li>
|
||||||
<li>default</li>
|
<li>default</li>
|
||||||
|
@ -125,7 +125,7 @@ public class TypeScriptClientCodegen extends DefaultCodegen implements CodegenCo
|
|||||||
"varLocalPath", "queryParameters", "headerParams", "formParams", "useFormData", "varLocalDeferred",
|
"varLocalPath", "queryParameters", "headerParams", "formParams", "useFormData", "varLocalDeferred",
|
||||||
"requestOptions", "from",
|
"requestOptions", "from",
|
||||||
// Typescript reserved words
|
// Typescript reserved words
|
||||||
"abstract", "await", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default", "delete", "do", "double", "else", "enum", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto", "if", "implements", "import", "in", "instanceof", "int", "interface", "let", "long", "native", "new", "null", "package", "private", "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "transient", "true", "try", "typeof", "var", "void", "volatile", "while", "with", "yield"));
|
"abstract", "await", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "constructor", "continue", "debugger", "default", "delete", "do", "double", "else", "enum", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto", "if", "implements", "import", "in", "instanceof", "int", "interface", "let", "long", "native", "new", "null", "package", "private", "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "transient", "true", "try", "typeof", "var", "void", "volatile", "while", "with", "yield"));
|
||||||
|
|
||||||
languageSpecificPrimitives = new HashSet<>(Arrays.asList(
|
languageSpecificPrimitives = new HashSet<>(Arrays.asList(
|
||||||
"string",
|
"string",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user