forked from loafle/openapi-generator-original
[2.0 Spec] Java generator: Implement Enums #287
Very basic implementation
This commit is contained in:
parent
3971bbf334
commit
a80af33260
@ -452,7 +452,7 @@ public class DefaultCodegen {
|
||||
}
|
||||
|
||||
property.datatype = property.isEnum
|
||||
? StringUtils.capitalize(getTypeDeclaration(p)) + "Enum"
|
||||
? StringUtils.capitalize(property.name) + "Enum"
|
||||
: getTypeDeclaration(p);
|
||||
property.baseType = getSwaggerType(p);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user