You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a list, the tool adds the suffix 'List', but Java Beans validation in spring boot 3.0.2 relies on full compliance to specifications by using reflection, then the name of fields and the getters should be aligned.
Current behaviour:
field: aliases
generated as: aliasesList
getter: getAliases
compliant to JavaBeans specs: no
In spring boot 3.*, try to generate a kafka topic model with validation of a List annotated with @NotNull.
When validation will run, an IllegalStateException will be raised
Expected behavior
The field should be generated without the 'List' suffix in compliance with JavaBeans specification.
( problem is at $$message$$ lines 42 and $$objectSchema$$ lines 24, 26,28,97,127,157,163,169 - I cannot contribute due to company policies )
The text was updated successfully, but these errors were encountered:
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup 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.
Describe the bug
When generating a list, the tool adds the suffix 'List', but Java Beans validation in spring boot 3.0.2 relies on full compliance to specifications by using reflection, then the name of fields and the getters should be aligned.
Current behaviour:
field: aliases
generated as: aliasesList
getter: getAliases
compliant to JavaBeans specs: no
Safe behavious
field: aliases
generated as: aliases
getter: getAliases
compliant to JavaBeans specs: yes
How to Reproduce
In spring boot 3.*, try to generate a kafka topic model with validation of a List annotated with @NotNull.
When validation will run, an IllegalStateException will be raised
Expected behavior
The field should be generated without the 'List' suffix in compliance with JavaBeans specification.$$message$$ lines 42 and $$objectSchema$$ lines 24, 26,28,97,127,157,163,169 - I cannot contribute due to company policies )
( problem is at
The text was updated successfully, but these errors were encountered: