fix isPrimitiveType for file

This commit is contained in:
wing328
2016-12-18 19:02:26 +08:00
parent 7e67307bb4
commit 7fd895b37d
6 changed files with 43 additions and 38 deletions

View File

@@ -3309,7 +3309,8 @@ public class DefaultCodegen {
parameter.isPrimitiveType = true;
} else if (Boolean.TRUE.equals(property.isFile)) {
parameter.isFile = true;
parameter.isPrimitiveType = true;
// file is *not* a primitive type
//parameter.isPrimitiveType = true;
} else if (Boolean.TRUE.equals(property.isDate)) {
parameter.isDate = true;
parameter.isPrimitiveType = true;