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
With hibernate 6.x+ versions, we have the support for container element constraints i.e. List<@Pattern(regexp="<sample pattern>") String> listElement;
This is to validate each item under the list with the regex provided inside diamond operator. It do validates fine but the open api.json doesn't recognize this annotation and in resulting open api specs, it doesn't show any pattern or validation for individual items.
Expectation is it should show the applied pattern under items of list/array i.e.:
The generated open api.json for the above schema object:
With hibernate 6.x+ versions, we have the support for container element constraints i.e.
List<@Pattern(regexp="<sample pattern>") String> listElement;
This is to validate each item under the list with the regex provided inside diamond operator. It do validates fine but the open api.json doesn't recognize this annotation and in resulting open api specs, it doesn't show any pattern or validation for individual items.
Expectation is it should show the applied pattern under items of list/array i.e.:
The generated open api.json for the above schema object:
The expected/required open api specs:
The text was updated successfully, but these errors were encountered: