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
{{ message }}
Repository navigation
[Java] CodegenModel's discriminator property is not set for a model when it is composed using allOf #4346
When a model A is composed from another model B, which has declared a discriminator,
discriminator field of CodegenModel for A should be value of discriminator field of model B.
But, it is set to null.
Consider test case "handle inheritance from composed model" in CodegenTest.java which uses
src/test/resources/2_0/allOfTest.yaml .
child.discriminator should be "disc". But it is null.
Activity