Adding nullable for object type changes generated code to JsonNullable
voznenkoD opened this issue · 0 comments
voznenkoD commented
Without nullable object type boat is generating java Object type, which is desired behaviour as in our case field should be any Object(including possibility of primitives like boolean, int, etc.). However nullable added to spec, then JsonNullable is generated in java code as type of field, which breaks on parsing primitives.