Skip to content

Commit

Permalink
docs: fix URN examples (asyncapi#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-schenk authored Jun 21, 2022
1 parent 03a7a95 commit 8612838
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/gitter-streaming.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asyncapi: '2.4.0'
id: 'urn:com:gitter:streaming:api'
id: 'tag:stream.gitter.im,2022:api'
info:
title: Gitter Streaming API
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-client.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asyncapi: '2.4.0'
id: 'urn:rpc:example:client'
id: 'urn:example:rpcclient'
defaultContentType: application/json

info:
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asyncapi: '2.4.0'
id: 'urn:rpc:example:server'
id: 'urn:example:rpcserver'
defaultContentType: application/json

info:
Expand Down
2 changes: 1 addition & 1 deletion examples/slack-rtm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asyncapi: '2.4.0'
id: 'urn:com:slack:rtm:api'
id: 'wss://wss-primary.slack.com/websocket'
info:
title: Slack Real Time Messaging API
version: '1.0.0'
Expand Down
4 changes: 2 additions & 2 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ It is RECOMMENDED to use a [URN](https://tools.ietf.org/html/rfc8141) to globall

```json
{
"id": "urn:com:smartylighting:streetlights:server"
"id": "urn:example:com:smartylighting:streetlights:server"
}
```

```yaml
id: 'urn:com:smartylighting:streetlights:server'
id: 'urn:example:com:smartylighting:streetlights:server'
```

```json
Expand Down

0 comments on commit 8612838

Please sign in to comment.