From ca2174a236044e52b64e2fb13936d15f983aa4d5 Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Sun, 17 Sep 2023 12:25:05 +0200 Subject: [PATCH] fix: update some examples according to v3 --- spec/asyncapi.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index f4be4969..ebdfda4c 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1730,10 +1730,7 @@ my.org.User }, "parameters": { "userId": { - "description": "Id of the user.", - "schema": { - "type": "string" - } + "description": "Id of the user." } }, "correlationIds": { @@ -1785,7 +1782,7 @@ components: $ref: 'path/to/user-create.avsc/#UserCreate' servers: development: - url: "{stage}.in.mycompany.com:{port}" + host: "{stage}.in.mycompany.com:{port}" description: RabbitMQ broker protocol: amqp protocolVersion: 0-9-1 @@ -1799,8 +1796,8 @@ components: default: demo 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: @@ -1831,8 +1828,6 @@ components: parameters: userId: description: Id of the user. - schema: - type: string correlationIds: default: description: Default Correlation ID