Skip to content

Commit 841754e

Browse files
authored
fix: message examples definition (#22)
1 parent 0a2c271 commit 841754e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

schemas/2.0.0.json

+15-4
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,14 @@
639639
},
640640
"headers": {
641641
"allOf": [
642-
{ "$ref": "#/definitions/schema" },
643-
{
642+
{
643+
"$ref": "#/definitions/schema"
644+
},
645+
{
644646
"properties": {
645-
"type": { "const": "object" }
647+
"type": {
648+
"const": "object"
649+
}
646650
}
647651
}
648652
]
@@ -691,7 +695,14 @@
691695
"examples": {
692696
"type": "array",
693697
"items": {
694-
"type": "object"
698+
"type": "object",
699+
"additionalProperties": false,
700+
"properties": {
701+
"headers": {
702+
"type": "object"
703+
},
704+
"payload": {}
705+
}
695706
}
696707
},
697708
"bindings": {

0 commit comments

Comments
 (0)