-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Impossible to generate fields of wrapper type like java.lang.Integer, java.lang.Long in model classes #133
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
Any contribution help would be highly appreciated here |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
🎉 This issue has been resolved in version 0.25.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
How to Reproduce
example.yaml
Result model
Property lumens is not mandatory, that's why there should be possibility to use for it type "java.lang.Integer" in order to be able to assign null when it doesn't present.
Expected behavior
Possibility to generate code that use wrapper types like java.lang.Integer, java.lang.Long, java.lang.Double, etc.
The text was updated successfully, but these errors were encountered: