From 69f57cd7cd0ae9f9d63332b3a30b76f086c85ee1 Mon Sep 17 00:00:00 2001 From: Ismael Martinez Ramos Date: Mon, 23 Sep 2024 14:58:17 +0100 Subject: [PATCH 1/2] docs: add optional version to message object --- spec/asyncapi.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index 04a595d3..cdef79a2 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1244,6 +1244,7 @@ Field Name | Type | Description payload | [Multi Format Schema Object](#multiFormatSchemaObject) | [Schema Object](#schemaObject) | [Reference Object](#referenceObject) | Definition of the message payload. If this is a [Schema Object](#schemaObject), then the `schemaFormat` will be assumed to be "application/vnd.aai.asyncapi+json;version=`asyncapi`" where the version is equal to the [AsyncAPI Version String](#A2SVersionString). correlationId | [Correlation ID Object](#correlationIdObject) | [Reference Object](#referenceObject) | Definition of the correlation ID used for message tracing or matching. contentType | `string` | The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. `application/json`). When omitted, the value MUST be the one specified on the [defaultContentType](#defaultContentTypeString) field. +version | `string` | The version of the message. name | `string` | A machine-friendly name for the message. title | `string` | A human-friendly title for the message. summary | `string` | A short summary of what the message is about. From dd5679c6231755b974820117c2b510c25eef05ce Mon Sep 17 00:00:00 2001 From: Ismael Martinez Ramos Date: Mon, 30 Sep 2024 21:21:07 +0100 Subject: [PATCH 2/2] docs: update description to be similar to other used descriptions --- spec/asyncapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index cdef79a2..47a0a47b 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1244,7 +1244,7 @@ Field Name | Type | Description payload | [Multi Format Schema Object](#multiFormatSchemaObject) | [Schema Object](#schemaObject) | [Reference Object](#referenceObject) | Definition of the message payload. If this is a [Schema Object](#schemaObject), then the `schemaFormat` will be assumed to be "application/vnd.aai.asyncapi+json;version=`asyncapi`" where the version is equal to the [AsyncAPI Version String](#A2SVersionString). correlationId | [Correlation ID Object](#correlationIdObject) | [Reference Object](#referenceObject) | Definition of the correlation ID used for message tracing or matching. contentType | `string` | The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. `application/json`). When omitted, the value MUST be the one specified on the [defaultContentType](#defaultContentTypeString) field. -version | `string` | The version of the message. +version | `string` | A version for the message. name | `string` | A machine-friendly name for the message. title | `string` | A human-friendly title for the message. summary | `string` | A short summary of what the message is about.