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

fix: the Java Constraint Generator omits @Valid annotation #2176

Merged

Conversation

istvan-nagy-epam
Copy link
Contributor

Description

  • Add missing @Valid annotations
  • Update tests

Related Issue

#2175

Checklist

  • The code follows the project's coding standards and is properly linted (npm run lint).
  • Tests have been added or updated to cover the changes. (Updated existing)
  • Documentation has been updated to reflect the changes. (N/A)
  • All tests pass successfully locally.(npm run test).

Additional Notes

…cascading validation

- Add missing `@Valid` annotations
- Update tests

Updates asyncapi#2175
Copy link
Contributor

@github-actions github-actions bot left a 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.

Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for modelina canceled.

Name Link
🔨 Latest commit 5391b65
🔍 Latest deploy log https://app.netlify.com/sites/modelina/deploys/67a62a5bdd04740008270999

@istvan-nagy-epam istvan-nagy-epam changed the title fix: Java Constraint Generator omits @Valid annotation disallowing cascading validation fix: Java Constraint Generator omits @Valid annotation Feb 7, 2025
Copy link

sonarqubecloud bot commented Feb 7, 2025

@istvan-nagy-epam istvan-nagy-epam changed the title fix: Java Constraint Generator omits @Valid annotation fix: the Java Constraint Generator omits @Valid annotation Feb 7, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13203180693

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 92.402%

Totals Coverage Status
Change from base Build 13012076762: 0.005%
Covered Lines: 6475
Relevant Lines: 6870

💛 - Coveralls

@jonaslagoni
Copy link
Member

/rtm

@jonaslagoni
Copy link
Member

Thanks for taking the time @istvan-nagy-epam 🙏

@jonaslagoni
Copy link
Member

@all-contributors please add @istvan-nagy-epam for code, test

Copy link
Contributor

@jonaslagoni

I've put up a pull request to add @istvan-nagy-epam! 🎉

@jonaslagoni jonaslagoni merged commit 2387ef0 into asyncapi:master Feb 8, 2025
30 of 32 checks passed
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@istvan-nagy-epam istvan-nagy-epam deleted the fix-java-cascade-validation branch February 9, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants