Skip to content

Commit

Permalink
fix: wrong type of payload and headers in MessageExample
Browse files Browse the repository at this point in the history
Rollback headers to Map[string, any]
  • Loading branch information
Pakisan committed Jan 9, 2025
1 parent bebbbab commit c2e190c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ Message Example Object represents an example of a [Message Object](#messageObjec

Field Name | Type | Description
---|:---:|---
<a name="messageExampleObjectHeaders"></a>headers | `any` | The value of this field MUST validate against the [Message Object's headers](#messageObjectHeaders) field.
<a name="messageExampleObjectHeaders"></a>headers | `Map[string, any]` | The value of this field MUST validate against the [Message Object's headers](#messageObjectHeaders) field.
<a name="messageExampleObjectPayload"></a>payload | `any` | The value of this field MUST validate against the [Message Object's payload](#messageObjectPayload) field.
<a name="messageExampleObjectName"></a>name | `string` | A machine-friendly name.
<a name="messageExampleObjectSummary"></a>summary | `string` | A short summary of what the example is about.
Expand Down

0 comments on commit c2e190c

Please sign in to comment.