@BeanParam enum field losing type and enum when @Schema(defaultValue)…#2596
@BeanParam enum field losing type and enum when @Schema(defaultValue)…#2596Pepo48 wants to merge 1 commit into
Conversation
… is set * merge type, enum and format from the Java field type into the existing partial schema when it has no type set Closes: smallrye#2595 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
|
|
@MikeEdgar I also wondered about this earlier and at least based on what I see from my research is that it doesn't affect schema properties. The POJO property pipeline handles this correctly via The bug is in But, please, recheck this thoroughly, just to be on the safe side. 😊 |
|
@Pepo48 pardon the delay, I am still thinking through this one. Your change works well for the narrow set of attributes in the new logic (type, enumeration, format), but really the issue impacts any type that is currently not being introspected. Granted, this can easily be worked around by adding |


… is set
Closes: #2595