Skip to content

Commit a97ec84

Browse files
Updates MockRequestPlugin schema
1 parent 9e8be9d commit a97ec84

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

schemas/v0.16.0/mockrequestplugin.schema.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,28 @@
3030
},
3131
"body": {
3232
"type": "object"
33+
},
34+
"headers": {
35+
"type": "array",
36+
"items": {
37+
"type": "object",
38+
"properties": {
39+
"name": {
40+
"type": "string"
41+
},
42+
"value": {
43+
"type": "string"
44+
}
45+
},
46+
"required": [
47+
"name",
48+
"value"
49+
]
50+
}
3351
}
3452
},
3553
"required": [
36-
"url",
37-
"method"
54+
"url"
3855
]
3956
}
4057
},

0 commit comments

Comments
 (0)