From bebbbab8b6208890360f8de03d3e5cb471558dc7 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Tue, 31 Dec 2024 21:14:41 +0400 Subject: [PATCH] docs: update Message Example headers and payload According to JSON Schema headers and payload properties may be of any type --- spec/asyncapi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index 04a595d3..59102828 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1453,8 +1453,8 @@ Message Example Object represents an example of a [Message Object](#messageObjec Field Name | Type | Description ---|:---:|--- -headers | `Map[string, any]` | The value of this field MUST validate against the [Message Object's headers](#messageObjectHeaders) field. -payload | `Map[string, any]` | The value of this field MUST validate against the [Message Object's payload](#messageObjectPayload) field. +headers | `any` | The value of this field MUST validate against the [Message Object's headers](#messageObjectHeaders) field. +payload | `any` | The value of this field MUST validate against the [Message Object's payload](#messageObjectPayload) field. name | `string` | A machine-friendly name. summary | `string` | A short summary of what the example is about.