Skip to content

Commit 52e95f3

Browse files
committed
added list as reserved word for java generator
1 parent 1a22275 commit 52e95f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractJavaCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public AbstractJavaCodegen() {
122122
"this", "break", "double", "implements", "protected", "throw", "byte", "else",
123123
"import", "public", "throws", "case", "enum", "instanceof", "return", "transient",
124124
"catch", "extends", "int", "short", "try", "char", "final", "interface", "static",
125-
"void", "class", "finally", "long", "strictfp", "volatile", "const", "float",
125+
"void", "class", "finally", "long", "strictfp", "volatile", "const", "float", "list",
126126
"native", "super", "while", "null")
127127
);
128128

0 commit comments

Comments
 (0)