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 9909be4 commit 1553fd0Copy full SHA for 1553fd0
templates/cli/lib/type-generation/languages/dart.js.twig
@@ -97,7 +97,7 @@ import '<%- attribute.relatedCollection.toLowerCase() %>.dart';
97
<% if (attribute.format === 'enum') { -%>
98
enum <%- toPascalCase(attribute.key) %> {
99
<% for (const [index, element] of Object.entries(attribute.elements)) { -%>
100
- <%- toSnakeCase(element) %><% if (index < attribute.elements.length - 1) { %>,<% } %>
+ <%- toCamelCase(element) %><% if (index < attribute.elements.length - 1) { %>,<% } %>
101
<% } -%>
102
}
103
0 commit comments