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

Issue with customvalidators generation #277

Open
amondacaSN opened this issue Aug 23, 2023 · 1 comment
Open

Issue with customvalidators generation #277

amondacaSN opened this issue Aug 23, 2023 · 1 comment
Assignees

Comments

@amondacaSN
Copy link
Contributor

amondacaSN commented Aug 23, 2023

I have found an issue when I have used the async-api code generation function. When you configure different modelPackages for supplier and consumer, and the async-api spec has restrictions like required fields, the plugin do not generate the code propertly having several compilation errors.

This errors happen because the model classes (allocated in different packages for supplier and cosumer) try to reference customvalidators in his same package hierarchy, but this validators are only generated in one of them.

@github-actions
Copy link

Thank you for collaborating with the project by giving us feedback! Cheers!

@jemacineiras jemacineiras self-assigned this Aug 31, 2023
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

When branches are created from issues, their pull requests are automatically linked.

2 participants