mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-11 15:54:16 +00:00
fix isPrimitiveType for file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user