Skip to content
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

Adding nullable for object type changes generated code to JsonNullable #200

Open
voznenkoD opened this issue May 12, 2021 · 0 comments
Open

Comments

@voznenkoD
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant