-
-
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
Model not generated for free-form object for Java client #2037
Comments
Thank you for trying I tend to agree with you, if There is a flag Maybe related issue: #453 |
I tried this option but it has no effect on the code generation. |
@zslajosfalvi thanks for reporting the issue. I think I know where to fix it and will try to submit a PR over the weekend. |
@zslajosfalvi the issue has been addressed with #2044 Please give it another try with the latest master. |
Thanks for the fix. |
@zslajosfalvi you can use the SNAPSHOT version instead: https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.0-SNAPSHOT/ |
Thanks. |
@zslajosfalvi Yes there is one: Depending on your setting, you might need |
I tried the fix in 4.0.0-SNAPSHOT as you suggested and the problem seems to be resolved. |
We are seeing this issue in version 6.2.1,
Swagger spec:
Everything else is being generated fine, its only this free form object that fails. Any thoughts on this? Is anyone else able to replicate this issue? |
I was also facing the same issue and I manually removed following properties and then it worked without an issue.
|
I used Maven OpenAPI codegen 4.0.0 beta2 with config
SinglePayment
HungarianCreditTransferIG2
model classes gets generated, but HungarianCreditTransfer not.
I get the following INFO message:
[INFO] Model PeriodicHungarianCreditTransfer not generated since it's a free-form object
Maybe this looks like not a bug, but I need the HungarianCreditTransfer class in my code.
Is it possible to force generate this class?
With previous version (3.3.4) the HungarianCreditTransfer class is generated.
The text was updated successfully, but these errors were encountered: