Minimal not working example for this stackoverflow question.
Before
-
POST /foo {"someField" : 5}
-
POST /bar {"someField" : 5}
When
-
GET /foo
Then
-
[{ "someField" : 5, "bars" : [{ "someField" : 5 }] }]
Minimal not working example for this stackoverflow question.
Before
POST /foo
{"someField" : 5}
POST /bar
{"someField" : 5}
When
GET /foo
Then
[{
"someField" : 5,
"bars" : [{
"someField" : 5
}]
}]