Skip to content

Commit

Permalink
fix: force object type for message trait's headers
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu authored Jan 24, 2022
1 parent daa269d commit b2f52b1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions schemas/2.3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,12 +904,16 @@
"type": "string"
},
"headers": {
"oneOf": [
"allOf": [
{
"$ref": "#/definitions/Reference"
"$ref": "#/definitions/schema"
},
{
"$ref": "#/definitions/schema"
"properties": {
"type": {
"const": "object"
}
}
}
]
},
Expand Down

0 comments on commit b2f52b1

Please sign in to comment.