You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Given a model with multiple inheritance levels and required parameters on each level of inheritance, the super calls in the constructor has the wrong order.
Bug Report Checklist
Description
Given a model with multiple inheritance levels and required parameters on each level of inheritance, the super calls in the constructor has the wrong order.
Given the sample below without the fix:
openapi-generator version
First occured in Openapi-Generator 6.5.0. Still in current master
OpenAPI declaration file content or url
https://github.com/JanLubenow/openapi-generator/blob/1d39efec7e3e9f6a09b23b40236211ce0cec9705/modules/openapi-generator/src/test/resources/bugs/issue_constructor-required-values-with-multiple-inheritance.yaml
Generation Details
See https://github.com/JanLubenow/openapi-generator/blob/1d39efec7e3e9f6a09b23b40236211ce0cec9705/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java#L394
Used generator: Spring
Library: Spring Boot
Steps to reproduce
Run linked testcase without bugfix in SpringCodeGen.java
Related issues/PRs
#15796 (but addresses other issues in this area)
Suggest a fix
see #15827
The text was updated successfully, but these errors were encountered: