Fix composed properties missing from allVars (#3616)

* Fix composed properties missing from allVars

* Update the allOfCompositionTest to check allVars
This commit is contained in:
Glenn Schmidt
2019-08-13 01:27:01 +10:00
committed by William Cheng
parent 20db89e277
commit 36ccd87a80
2 changed files with 28 additions and 0 deletions

View File

@@ -1827,6 +1827,7 @@ public class DefaultCodegen implements CodegenConfig {
} else {
// composition
addProperties(properties, required, refSchema);
addProperties(allProperties, allRequired, refSchema);
}
}