forked from loafle/openapi-generator-original
better comment
This commit is contained in:
parent
eee7a40629
commit
a049e4c271
@ -986,7 +986,7 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
|
||||
model.imports.add("ApiModel");
|
||||
}
|
||||
|
||||
// add java constancct name
|
||||
// store java constant property name in vendor extension, remove dollar sign from the constant name
|
||||
property.vendorExtensions.put("x-java-const-name", CaseFormat.UPPER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, property.nameInCamelCase.replaceAll("\\$", "")));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user