Skip to content

Commit

Permalink
fix: modify yaml example
Browse files Browse the repository at this point in the history
Changes:
- modify yaml example which was failing due to not properly formatted
  structure
- update json pointer at one location
  • Loading branch information
AnimeshKumar923 committed Jul 5, 2024
1 parent 5c5d91a commit 2c3c55b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1806,10 +1806,14 @@ components:
serverVariables:
stage:
default: demo
description: This value is assigned by the service provider, in this example `mycompany.com`
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 All @@ -1828,7 +1832,9 @@ components:
type: object
properties:
applicationInstanceId:
description: Unique identifier for a given instance of the publishing application
description: |
Unique identifier for a given instance of the publishing
application
type: string
payload:
type: object
Expand All @@ -1843,7 +1849,7 @@ components:
correlationIds:
default:
description: Default Correlation ID
location: $message.header#/correlationId
location: '$message.header#/correlationId'
messageTraits:
commonHeaders:
headers:
Expand Down Expand Up @@ -1890,7 +1896,7 @@ Name | Allowed values | Notes

###### Multi Format Schema Object Example with Avro

<!-- asyncapi-example-tester:{"name":"Multi Format Schema Object - Avro","json_pointer":"#/"} -->
<!-- asyncapi-example-tester:{"name":"Multi Format Schema Object - Avro","json_pointer":"#"} -->
```yaml
channels:
example:
Expand Down

0 comments on commit 2c3c55b

Please sign in to comment.