We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e80ca8 commit 4bd5b64Copy full SHA for 4bd5b64
schemas/2.1.0.json
@@ -934,7 +934,26 @@
934
"examples": {
935
"type": "array",
936
"items": {
937
- "type": "object"
+ "type": "object",
938
+ "additionalProperties": false,
939
+ "anyOf": [
940
+ {"required": ["payload"] },
941
+ {"required": ["headers"] }
942
+ ],
943
+ "properties": {
944
+ "name": {
945
+ "type": "string",
946
+ "description": "Machine readable name of the message example."
947
+ },
948
+ "summary": {
949
950
+ "description": "A brief summary of the message example."
951
952
+ "headers": {
953
+ "type": "object"
954
955
+ "payload": {}
956
+ }
957
}
958
},
959
"bindings": {
0 commit comments