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

Add property to remove JsonNullable import #74

Conversation

antssilva96
Copy link
Contributor

The openApiNullable property controls the use of JsonNullable in the templates, and by consequence in generated classes. Since in this generator we are using our own templates that make no use of the JsonNullable wrapper but the property is not set, we are getting an extra import that is unused but breaks compilation if you don't have the needed dependency in your project. This commit fixes this by hardcoding this property to false.

This fixes the problem that originated #66.

The openApiNullable property controls the use of JsonNullable in the templates, and by consequence in generated classes. Since in this generator we are using our own templates that make no use of the JsonNullable wrapper but the property is not set, we are getting an extra import that is unused but breaks compilation if you don't have the needed dependency in your project. This commit fixes this by hardcoding this property to false.
@ricardozanini ricardozanini merged commit 2c7d567 into quarkiverse:main May 19, 2022
@ricardozanini ricardozanini linked an issue May 19, 2022 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Additional properties support
2 participants