-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property object generation #68
Comments
Hi, This seems to have been working on an older version if I am not mistaken. I am regenerating the model classes for a project from last year and I ran into this issue. I have rolled back a couple of versions but I have not been able to find the version that generated model classes for property objects. Can someone point me in the right direction? Alternatively if this is a simple fix then I would not mind making it myself if some guidance can be provided. Kind regards, |
Maybe @slinkydeveloper can help as he knows best that code. |
Hi, I have found a workaround. Basically inline objects don't work at the moment but you can still use $ref with a named scehma. e.g. the above section:
Would be a SerialNetwork schema resulting in:
I am not sure what this does:
But it seems to incorrect. I hope this helps. Kind regards, |
On a related note, arrays become JsonArrays instead of the List types that used to be created. |
I have the following schema :
The ModbusSLCommunicationNetwork generation is :
I have hope that the properties filed will be more typed than a JsonObject.
Regards,
The text was updated successfully, but these errors were encountered: