Skip to content

Commit

Permalink
fix: make sure headers must be object type (#396)
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Méndez <fmvilas@gmail.com>
  • Loading branch information
derberg and fmvilas committed Jun 17, 2020
1 parent 06875bc commit b5a2622
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions versions/2.0.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,13 @@
"type": "string"
},
"headers": {
"$ref": "#/definitions/schema"
"allOf": [
{ "$ref": "#/definitions/schema" },
{ "properties": {
"type": { "const": "object" }
}
}
]
},
"payload": {},
"correlationId": {
Expand Down Expand Up @@ -1356,4 +1362,4 @@
}
}
}
}
}

0 comments on commit b5a2622

Please sign in to comment.