Skip to content

Commit

Permalink
render 'Misc []generic.Xml `xml:",any"' for child objects (not only f…
Browse files Browse the repository at this point in the history
…or the root)
  • Loading branch information
sebastianczech committed Mar 22, 2024
1 parent f04943a commit 0bddff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/sdk/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ type Spec{{$name}}Xml struct {
{{- range $_, $param := $spec.OneOf}}
{{$param.Name.CamelCase}} {{xmlParamType $name $param}} {{xmlTag $param}}
{{- end}}

Misc []generic.Xml `xml:",any"
}
{{- end}}

Expand Down

0 comments on commit 0bddff2

Please sign in to comment.