{
actions.object(object ->
{
- object.stringType("foo");
+ object.stringType("name","update");
});
});
}).build())
"body": {
"actions": [
{
- "foo": "string"
+ "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": {
+ "$.name": {
"combine": "AND",
"matchers": [
{