backbase-openapi-tools icon indicating copy to clipboard operation
backbase-openapi-tools copied to clipboard

generate-spring-boot-embedded fails with `format: email` property.

Open jjjasper opened this issue 1 year ago • 0 comments

Both hiberate and jakarta @Email annotations are imported because of wildcard import statement, resulting in

[375,21] error: reference to Email is ambiguous
[ERROR]   both class org.hibernate.validator.constraints.Email in org.hibernate.validator.constraints and class jakarta.validation.constraints.Email in jakarta.validation.constraints match

The default spring generator uses fully qualified classesname.

jjjasper avatar Feb 14 '24 08:02 jjjasper