Skip to content

Commit

Permalink
Assembly names in JSON are no longer camelized
Browse files Browse the repository at this point in the history
Amending to the changes in the upstream metaschema.

See also: 18c5f77.
  • Loading branch information
isimluk committed Nov 27, 2020
1 parent 033d9f9 commit 4f729fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaschema/parser/assembly.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (a *Assembly) JsonName() string {
if a.GroupAs != nil {
return a.GroupAs.Name
}
return strcase.ToLowerCamel(a.XmlName())
return a.XmlName()
}

func (a *Assembly) XmlName() string {
Expand Down

0 comments on commit 4f729fd

Please sign in to comment.