Skip to content

Issue with customvalidators generation #277

@amondacaSN

Description

@amondacaSN

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions