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
spring generator has enumUnknownDefaultCase option like java generator (see spring generator doc) and I don't think there is any reason to get an enum behavior different from java generator.
The text was updated successfully, but these errors were encountered:
Also may want to consider taking a look on this topic in openapi specification, where defaulting enum value is proposed as standard extension: OAI/OpenAPI-Specification#1552
#11886 has fixed function fromValue for enum mode if enumUnknownDefaultCase=true on
java
generator.Could you please report this fix on
spring
generator (enumClass.mustache and enumOuterClass.mustache).spring
generator hasenumUnknownDefaultCase
option likejava
generator (see spring generator doc) and I don't think there is any reason to get an enum behavior different fromjava
generator.The text was updated successfully, but these errors were encountered: