From 2c3c55b0668a98527225d73c620f0a4f93995163 Mon Sep 17 00:00:00 2001 From: Animesh Kumar Date: Fri, 5 Jul 2024 21:58:49 +0530 Subject: [PATCH] fix: modify yaml example Changes: - modify yaml example which was failing due to not properly formatted structure - update json pointer at one location --- spec/asyncapi.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index ac51451c..e471ffd4 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1806,10 +1806,14 @@ components: serverVariables: stage: default: demo - description: This value is assigned by the service provider, in this example `mycompany.com` + description: | + This value is assigned by the service provider, in this example + `mycompany.com` port: - enum: ["5671", "5672"] - default: "5672" + enum: + - '5671' + - '5672' + default: '5672' channels: user/signedup: subscribe: @@ -1828,7 +1832,9 @@ components: type: object properties: applicationInstanceId: - description: Unique identifier for a given instance of the publishing application + description: | + Unique identifier for a given instance of the publishing + application type: string payload: type: object @@ -1843,7 +1849,7 @@ components: correlationIds: default: description: Default Correlation ID - location: $message.header#/correlationId + location: '$message.header#/correlationId' messageTraits: commonHeaders: headers: @@ -1890,7 +1896,7 @@ Name | Allowed values | Notes ###### Multi Format Schema Object Example with Avro - + ```yaml channels: example: