},
"response": {
"body": {
-
+ "actions": [
+ {
+ "foo": "string"
+ }
+ ]
+ },
+ "generators": {
+ "body": {
+ "$[0].foo": {
+ "size": 20,
+ "type": "RandomString"
+ }
+ }
},
"headers": {
"Content-Type": "application/vnd.siren+json"
},
+ "matchingRules": {
+ "body": {
+ "$.actions": {
+ "combine": "AND",
+ "matchers": [
+ {
+ "match": "arrayContains",
+ "variants": [
+ {
+ "generators": {
+ "$.foo": {
+ "size": 20,
+ "type": "RandomString"
+ }
+ },
+ "index": 0,
+ "rules": {
+ "$.foo": {
+ "combine": "AND",
+ "matchers": [
+ {
+ "match": "type"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
"status": 200
}
},