For some reason all Properties are combined in one class and linked everywhere since properties are defined for almost every definition.
It is perfectly possible that I did something wrong but I don't know what.
The command I used to generate the classes was:
xsdata generate -p server /tmp/pygeoapi-config-0.x.json
I would expect that each properties section is handled as actually properties of the element. I found also https://github.com/tefra/xsdata/issues/684 and was expecting it was solved.
Hi and thank you for this genious library. I play around with it for a while mostly with XML and it is a solid piece of code :rock:
However lately I got a JSON schema which I wanted to play araound with and got unexpected output.
pygeoapi-config-0.x.json pygeoapi.zip
For some reason all
Properties
are combined in one class and linked everywhere since properties are defined for almost every definition.It is perfectly possible that I did something wrong but I don't know what.
The command I used to generate the classes was:
I would expect that each properties section is handled as actually properties of the element. I found also https://github.com/tefra/xsdata/issues/684 and was expecting it was solved.
Am I missing something here?