Skip to content

Commit

Permalink
chore: make file reference more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeshKumar923 committed Jul 5, 2024
1 parent f814d82 commit 5e1b0be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ Example using Avro to define the payload:
"payload": {
"schemaFormat": "application/vnd.apache.avro+json;version=1.9.0",
"schema": {
"$ref": "user-create.avsc"
"$ref": "./user-create.avsc"
}
}
}
Expand All @@ -1402,7 +1402,7 @@ tags:
payload:
schemaFormat: 'application/vnd.apache.avro+yaml;version=1.9.0'
schema:
$ref: 'user-create.avsc'
$ref: './user-create.avsc'
```

#### <a name="messageTraitObject"></a>Message Trait Object
Expand Down Expand Up @@ -1664,7 +1664,7 @@ my.org.User
"AvroExample": {
"schemaFormat": "application/vnd.apache.avro+json;version=1.9.0",
"schema": {
"$ref": "user-create.avsc"
"$ref": "./user-create.avsc"
}
}
},
Expand Down Expand Up @@ -1789,7 +1789,7 @@ components:
AvroExample:
schemaFormat: application/vnd.apache.avro+json;version=1.9.0
schema:
$ref: 'user-create.avsc'
$ref: './user-create.avsc'
servers:
development:
host: "{stage}.in.mycompany.com:{port}"
Expand Down

0 comments on commit 5e1b0be

Please sign in to comment.