Skip to content

Commit abfae49

Browse files
authored
fix: update some examples according to v3 (#971)
1 parent 05e7b71 commit abfae49

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

spec/asyncapi.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,10 +1730,7 @@ my.org.User
17301730
},
17311731
"parameters": {
17321732
"userId": {
1733-
"description": "Id of the user.",
1734-
"schema": {
1735-
"type": "string"
1736-
}
1733+
"description": "Id of the user."
17371734
}
17381735
},
17391736
"correlationIds": {
@@ -1785,7 +1782,7 @@ components:
17851782
$ref: 'path/to/user-create.avsc/#UserCreate'
17861783
servers:
17871784
development:
1788-
url: "{stage}.in.mycompany.com:{port}"
1785+
host: "{stage}.in.mycompany.com:{port}"
17891786
description: RabbitMQ broker
17901787
protocol: amqp
17911788
protocolVersion: 0-9-1
@@ -1799,8 +1796,8 @@ components:
17991796
default: demo
18001797
description: This value is assigned by the service provider, in this example `mycompany.com`
18011798
port:
1802-
enum: [5671, 5672]
1803-
default: 5672
1799+
enum: ["5671", "5672"]
1800+
default: "5672"
18041801
channels:
18051802
user/signedup:
18061803
subscribe:
@@ -1831,8 +1828,6 @@ components:
18311828
parameters:
18321829
userId:
18331830
description: Id of the user.
1834-
schema:
1835-
type: string
18361831
correlationIds:
18371832
default:
18381833
description: Default Correlation ID

0 commit comments

Comments
 (0)