Skip to content

Commit 430b05a

Browse files
committed
fixed bug in wrong handling of allOf
1 parent c3e8dde commit 430b05a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/kotlin/org/evomaster/core/problem/rest/builder/RestActionBuilderV3.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ object RestActionBuilderV3 {
14401440

14411441
if (!allOf.isNullOrEmpty()){
14421442

1443-
if(allOf.size == 1){
1443+
if(allOf.size == 1 && fields.isEmpty()){
14441444
//just use it as it is
14451445
return allOf[0]
14461446
}

0 commit comments

Comments
 (0)