Field Name Collision and incorrect Binding of Boolean Fields When Using isX
in a data class
#42221
Labels
Milestone
isX
in a data class
#42221
Describe the bug
In the swagger-ui schema generated for the
/test/b
endpoint, bothisBoolean
andboolean
fields appear in the schema, even though onlyisBoolean
should be present. This can cause confusion and unexpected behavior, such as setting one field inadvertently setting the other.Expected behavior
Only
isBoolean
should be presentActual behavior
The
boolean
field appears out of nowhereHow to Reproduce?
isSomething
Output of
uname -a
orver
Ubuntu
Output of
java -version
17
Quarkus version or git rev
3.12.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)8.9
Additional information
No response
The text was updated successfully, but these errors were encountered: