OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.81k stars 6.58k forks source link

[BUG] generator java/spring-mvc doesnt handle allOf well #2692

Open manuelhartl opened 5 years ago

manuelhartl commented 5 years ago

Bug Report Checklist

Description

Generated class doesnt conist of all specified statements, e.g.: request: allOf:

-> resulting class only contains the first reference !

openapi-generator version

3.3.4 (4.0.0beta3 doesnt even produce correct classes that compile, because of a different problem with OneOf)

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix
Emdee89 commented 5 years ago

I am facing a similar issue. However, I propose that you refine your issue a bit. For instance, it might be helpful to show the resulting class or something like this. Otherwise, it might be hard to reproduce and understand the problem.

alfirin commented 5 years ago

Facing the same issue here.

Do you have some updates ?

Thanks