-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQ][Java] support anyOf Enum #4491
Comments
We are running into the same problem with the |
I'll be making a PR to address |
@lwlee2608 that's great news! looking forward to being able to use this! |
Is the "ignoreAnyOfInEnum" fix available in openapi-generator-cli-4.3.1.jar? |
It's only available in 5.0.0 |
I see ignoreAnyOfInEnum flag is mentioned in openapi generators document as config. But when i am trying to work with openapi generator 5.4.0 version , AnyOf tag is not getting ignored. I even tried to work with 5.0.0 , but there were issues in generated code like import was missing , in the generated code. Help highly appreciated !! |
3GPP R15 has defined a set of standards in the form of OpenAPI specification files.
The files are often lengthy and consist of oneOf, anyOf, allOf keywords.
The following definition that combines
anyOf
withenum
has been consistently poping up and it will break the openapi-generatorThe issue has been raised in #798
The solution was just workaround the spec files.
However it would be nice if we can instead add an option to the generator to simply ignore the
anyOf
. Ideally we want the generator to work without any alteration to the spec files.The text was updated successfully, but these errors were encountered: