[BUG][Generator] Missing field for nested allOf
when defined in intermediate properties
#10219
Closed
5 of 6 tasks
Labels
Bug Report Checklist
Description
Since
ResourceAllOfNested
(refer to spec below) inherits all fields fromResourceBaseWithProp
,ResourceAllOfNested
MUST containprop_field
. However,prop_field
is missing from the final output ofResourceAllOfNested
.SwaggerUI correctly depicts the expected fields in
ResourceAllOfNested
:openapi-generator version
Not regression. Using
latest
docker image built on 22 Aug 2021 (today).OpenAPI declaration file content or url
Generation Details
go-server generation logs
typescript generation logs
Steps to reproduce
Generate code using cli with any of the generators.
The following are two samples from
go-server
andtypescript
.go-server
generatortypescript
generatorExpected: both to contain
prop_field
.Related issues/PRs
None
Suggest a fix
Unsure
The text was updated successfully, but these errors were encountered: