Skip to content

Commit 6f6dbb9

Browse files
authored
Add missing blockUnmockedRequests property in MockResponsePlugin schema (#1259)
1 parent a433ff8 commit 6f6dbb9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

schemas/v0.28.0/mockresponseplugin.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"mocksFile": {
1111
"type": "string",
1212
"description": "Path to the file containing the mock responses."
13+
},
14+
"blockUnmockedRequests": {
15+
"type": "boolean",
16+
"description": "Set to true to return 502 Bad Gateway response for requests that aren't mocked. Default is false."
1317
}
1418
},
1519
"required": [

schemas/v0.29.0/mockresponseplugin.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"mocksFile": {
1111
"type": "string",
1212
"description": "Path to the file containing the mock responses."
13+
},
14+
"blockUnmockedRequests": {
15+
"type": "boolean",
16+
"description": "Set to true to return 502 Bad Gateway response for requests that aren't mocked. Default is false."
1317
}
1418
},
1519
"required": [

0 commit comments

Comments
 (0)