-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
feat: allow to use constraints from jakarta namespace for Java and Kotlin models #2073
feat: allow to use constraints from jakarta namespace for Java and Kotlin models #2073
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide 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.
✅ Deploy Preview for modelina canceled.
|
…tlin models Description The JAVA_CONSTRAINT_PRESET uses constraints from the javax namespace. Since Java 17 the constraints are moved to the jakarta namespace. Add an options to the JAVA_CONSTRAINT_PRESET to use the jakarta namespace for constraint imports. Related issue fixes: (asyncapi#1807)[asyncapi#1807]
f742073
to
903edac
Compare
Pull Request Test Coverage Report for Build 10005675656Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @tomdevroomen 👍
/rtm |
@all-contributors please add @tomdevroomen for code, example, docs, test |
I've put up a pull request to add @tomdevroomen! 🎉 |
🎉 This PR is included in version 3.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
feat: Allow to use constraints from jakarta namespace for Java and Kotlin models
Description
The JAVA_CONSTRAINT_PRESET uses constraints from the javax namespace.
Since Java 17 the constraints are moved to the jakarta namespace. Add an options to the JAVA_CONSTRAINT_PRESET to use the jakarta namespace for constraint imports.
Related Issue
fixes: #1807
Checklist
npm run lint
).npm run test
).Additional Notes
Nothing to add from my side.