5 ms·
I've been investigating their generators for work these last two days, and their java generators produce code that doesn't even compile -- when ran on their own
by glun 7y ago
I've been investigating their generators for work these last two days, and their java generators produce code that doesn't even compile -- when ran on their own schema examples! Total garbage. OneOf (for the polymorphism aspect of inheritance) is the feature that breaks every single one of them.
- wing328hk 7y agoWe just added oneOf support to the Java client generator a few weeks ago. The enhancement will be included in the upcoming 4.3.0 release. You can give it a try with the latest snapshot version for the time being. Ref: https://github.com/OpenAPITools/openapi-generator/pull/5120 https://github.com/OpenAPITools/openapi-generator/pull/5120