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
Composition instead of inheritance is generated when using java/spring generator with openap:i 3.1.0 declaration split into multiple files. With openapi: 3.0.2 it works fine.
Bug Report Checklist
Description
Composition instead of inheritance is generated when using java/spring generator with
openap:i 3.1.0
declaration split into multiple files. Withopenapi: 3.0.2
it works fine.openapi-generator version
openapi-generator-maven-plugin:7.5.0
OpenAPI declaration file content or url
openapi.yaml
:child.yaml
:parent.yaml
:Generation Details
Steps to reproduce
openapi-generator-maven-plugin:7.5.0
and provided openapi declaration file.Actual behavior (with
openapi: 3.1.0
)A single class
Child
with bothpropA
andpropB
is generated:Expected behavior (as it is with
openapi: 3.0.2
):Two classes are generated:
Parent
class withpropA
propertyChild
class withpropB
property, extendingParent
classRelated issues/PRs
N/A
Suggest a fix
N/A
The text was updated successfully, but these errors were encountered: