We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a82d39 commit 2403dc1Copy full SHA for 2403dc1
templates/cli/lib/type-generation/languages/java.js.twig
@@ -54,7 +54,7 @@ public class <%- toPascalCase(collection.name) %> {
54
55
public enum <%- toPascalCase(attribute.key) %> {
56
<% for (const [index, element] of Object.entries(attribute.elements)) { -%>
57
- <%- element %><%- index < attribute.elements.length - 1 ? ',' : ';' %>
+ <%- toSnakeCase(element) %><%- index < attribute.elements.length - 1 ? ',' : ';' %>
58
<% } -%>
59
}
60
0 commit comments