Skip to content

Commit

Permalink
fix: add comments to support array objects
Browse files Browse the repository at this point in the history
Changes:
- update json pointer in spec that support the arrays merge in the base doc
- update json pointer to support root doc
  • Loading branch information
AnimeshKumar923 committed Jun 21, 2024
1 parent 13d56c7 commit f7fdf63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens

##### Operation Trait Object Example

<!-- asyncapi-example-tester:{"name":"Operation Traits Object","json_pointer":"/operations/sendUserSignUp/traits"} -->
<!-- asyncapi-example-tester:{"name":"Operation Traits Object","json_pointer":"/operations/sendUserSignUp/traits/0"} -->
```json
{
"bindings": {
Expand All @@ -962,7 +962,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
}
```

<!-- asyncapi-example-tester:{"name":"Operation Traits Object","json_pointer":"/operations/sendUserSignUp/traits"} -->
<!-- asyncapi-example-tester:{"name":"Operation Traits Object","json_pointer":"/operations/sendUserSignUp/traits/0"} -->
```yaml
bindings:
amqp:
Expand Down Expand Up @@ -1438,7 +1438,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens

##### Message Example Object Example

<!-- asyncapi-example-tester:{"name":"Message Example Object","json_pointer":"/components/messages/userSignUp/examples"} -->
<!-- asyncapi-example-tester:{"name":"Message Example Object","json_pointer":"/components/messages/userSignUp/examples/0"} -->
```json
{
"name": "SimpleSignup",
Expand All @@ -1458,7 +1458,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
}
```

<!-- asyncapi-example-tester:{"name":"Message Example Object","json_pointer":"/components/messages/userSignUp/examples"} -->
<!-- asyncapi-example-tester:{"name":"Message Example Object","json_pointer":"/components/messages/userSignUp/examples/0"} -->
```yaml
name: SimpleSignup
summary: A simple UserSignup example message
Expand Down Expand Up @@ -1610,7 +1610,7 @@ my.org.User

##### Components Object Example

<!-- asyncapi-example-tester:{"name":"Components Object","json_pointer":"/components"} -->
<!-- asyncapi-example-tester:{"name":"Components Object","json_pointer":""} -->
```json
{
"components": {
Expand Down Expand Up @@ -1744,7 +1744,7 @@ my.org.User
}
```

<!-- asyncapi-example-tester:{"name":"Components Object","json_pointer":"/components"} -->
<!-- asyncapi-example-tester:{"name":"Components Object","json_pointer":""} -->
```yaml
components:
schemas:
Expand Down

0 comments on commit f7fdf63

Please sign in to comment.