Closed chberger closed 11 months ago
CC @hbelmiro @fjtirado @ricardozanini @mcruzdev
@mcruzdev can you please take a look?
The same issue is mentioned already here https://github.com/quarkiverse/quarkus-openapi-generator/issues/421#issuecomment-1770382260
Hi @ricardozanini, of course!
Sorry for the delay, I was out, I am getting this issue now.
Hi @chberger, pull request opened #541.
@hbelmiro can you release a new patch version?
I've updated quarkus-openapi-generator from
2.2.11
to2.2.12
. With that release it seems likeconstant names
forenums
will be determined in a different way.Related PR: https://github.com/quarkiverse/quarkus-openapi-generator/pull/510/files#diff-72cbb66ba35c7356ee16cd4b1dc1ba37c30f4ad9af3d1ca8685a825f631b83be
Before version
2.2.12
a value ofM123
led to a constant calledM123
. Now with that PR the enum constant has changed toM_M123
.I've extended
QuarkusJavaClientCodegenTest
with two scenarios to showcase the behavior: https://github.com/techspace-de/quarkus-openapi-generator/commit/caac29de1b2e0dd6f1413ef79e8fb94708c9ad34The last two test parameters will fail:
and