Closed fwielstra closed 3 years ago
@xuri : It looks like I didn't use the right message format for github to auto-close this issue with my fix in https://github.com/xuri/xgen/pull/34. Do you mind closing it since it's now fixed?
I closed this issue, thanks @alexandre-normand.
Description
I've tried to boil it down to the simplest example. I have an XSD as follows:
After generating, the following is generated:
This is missing the Responses key in the Template struct, but adds a
Template string
property from.. somewhere.Removing the
<xs:simpleType>
segment:results in a struct that looks more correct:
Output of
go version
:xgen version or commit ID:
Environment details (OS, physical, etc.): MacOS, physical