Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update some examples according to v3 #971

Merged
merged 1 commit into from
Sep 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading