-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[jersey2-experimental] Generated Java code does not compile when using AnyType #6237
Comments
I've filed #6246 to fix AnyType mapping but still got the following compilation errors (may not be related to AnyType):
So I will need to take a deeper look to see what's causing the compilation errors. |
I found the issue. oneOf (and probably anyOf) doesn't support |
Closing this one as the AnyType issue has been fixed. I've opened #6257 to track the |
How exactly did you fix the problem? I have the same issue and don't know how I can solve the problem... |
@wing328 I have the same question as @JohnLimHTL ! how was it solved? |
Bug Report Checklist
Description
When using the OAS document provided as a link, the generated Java code with the jersey2-experimental library does not compile.
openapi-generator version
master branch 5/9
OpenAPI declaration file content or url
Full OAS document:
https://github.com/CiscoM31/intersight-openapi/blob/master/intersight-openapi-v3.yaml
Command line used for generation
Steps to reproduce
java -jar ./modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g java -o tmp -i intersight-openapi-v3.yaml -c codegen/config.json
Configuration:
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: