Skip to content

Commit

Permalink
fix: message examples definition (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmvilas authored Oct 20, 2020
1 parent 0a2c271 commit 841754e
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions schemas/2.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,14 @@
},
"headers": {
"allOf": [
{ "$ref": "#/definitions/schema" },
{
{
"$ref": "#/definitions/schema"
},
{
"properties": {
"type": { "const": "object" }
"type": {
"const": "object"
}
}
}
]
Expand Down Expand Up @@ -691,7 +695,14 @@
"examples": {
"type": "array",
"items": {
"type": "object"
"type": "object",
"additionalProperties": false,
"properties": {
"headers": {
"type": "object"
},
"payload": {}
}
}
},
"bindings": {
Expand Down

0 comments on commit 841754e

Please sign in to comment.