Skip to content

Commit

Permalink
feat: add name and summary properties to message examples (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbroudoux authored Jun 23, 2021
1 parent 4690e55 commit a8ca723
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schemas/2.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,19 @@
"items": {
"type": "object",
"additionalProperties": false,
"anyOf": [
{"required": ["payload"] },
{"required": ["headers"] }
],
"properties": {
"name": {
"type": "string",
"description": "Machine readable name of the message example."
},
"summary": {
"type": "string",
"description": "A brief summary of the message example."
},
"headers": {
"type": "object"
},
Expand Down

0 comments on commit a8ca723

Please sign in to comment.