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
[https://github.com/[REQ][Java] support anyOf Enum #4491]
Here I see, Jason submitted some code where he added new configuration ignoreAnyOfInEnum ( and making its use in AbstractJavaCodeGen Class ) to ignore the AnyOf Tag.
But This flag is also not working.
Seems reasons for that is , ignoreAnyOfInEnum config is not getting set in GeneratorSettings.java like other config properties we do.
3GPP R15 has defined a set of standards in the form of OpenAPI Yamls.
This yamls contains enum along with AnyOf.
Currently open api generator is not generating models correctly for ENUM along with AnyOF
I checked it on internet and found out two solution :
[https://github.com/Java enums are not generated correctly with anyOf #798]
Where we can delete anyof and run the maven build again.
But we cannot change the YAML , as its of standard.
[https://github.com/[REQ][Java] support anyOf Enum #4491]
Here I see, Jason submitted some code where he added new configuration ignoreAnyOfInEnum ( and making its use in AbstractJavaCodeGen Class ) to ignore the AnyOf Tag.
But This flag is also not working.
Seems reasons for that is , ignoreAnyOfInEnum config is not getting set in GeneratorSettings.java like other config properties we do.
Please help , stuck.
@wing328
The text was updated successfully, but these errors were encountered: