Skip to content

Commit 20ad9a6

Browse files
committed
Stricter validation for the headers option
1 parent 1591af1 commit 20ad9a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/optionsSchema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
},
4747
"headers": {
4848
"description": "Response headers that are added to each response.",
49+
"additionalProperties": {
50+
"type": "string"
51+
},
4952
"type": "object"
5053
},
5154
"clientLogLevel": {

0 commit comments

Comments
 (0)