You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But parsing the spec using the following options then the nullable and others are null:
ParseOptions po = new ParseOptions();
po.setFlatten(true);
po.setFlattenComposedSchemas(true);
po.setResolve(true);
po.setCamelCaseFlattenNaming(true);
Note that because of the flatten option, the parser is creating a schema named User_address:
@gracekarina , while I was debugging in order to fix this issue I also find out that camelCaseFlattenNaming was not being properly respected. I have fixed it too.
In a 3.0 spec I have this schema:
When I parse this spec with a default parser option I get this User object:
But parsing the spec using the following options then the nullable and others are null:
Note that because of the flatten option, the parser is creating a schema named
User_address
:The User_address:
The text was updated successfully, but these errors were encountered: