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