coding key case added to class macros
This commit is contained in:
parent
586a207eda
commit
0c07ca3ea7
|
|
@ -27,3 +27,7 @@
|
|||
|
||||
{{- self.typeParameters(parentTypeParameters, false) -}}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro codingKey(field) %}
|
||||
case {{ field.name }}{% if field.name != field.jsonName %} = {{ "#{field.jsonName}" }}{% endif %}
|
||||
{% endmacro %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue