Skip to content

Commit

Permalink
fix: update some examples according to v3 (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya authored Sep 17, 2023
1 parent 05e7b71 commit abfae49
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1730,10 +1730,7 @@ my.org.User
},
"parameters": {
"userId": {
"description": "Id of the user.",
"schema": {
"type": "string"
}
"description": "Id of the user."
}
},
"correlationIds": {
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -1831,8 +1828,6 @@ components:
parameters:
userId:
description: Id of the user.
schema:
type: string
correlationIds:
default:
description: Default Correlation ID
Expand Down

0 comments on commit abfae49

Please sign in to comment.