-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update references for avro and openapi schema (#395)
- Loading branch information
Showing
10 changed files
with
490 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# yaml-language-server: $schema=YOUR-PROJECTS-DIRECTORY/spec-json-schemas/schemas/2.6.0-without-$id.json | ||
asyncapi: 2.6.0 | ||
|
||
info: | ||
|
||
title: test.mosquitto.org | ||
version: This service is in charge of processing all the events related to comments. | ||
|
||
servers: | ||
dev: | ||
url: test.mosquitto.org | ||
protocol: mqtt | ||
|
||
channels: | ||
comment/liked: | ||
|
||
description: Updates the likes count in the database when new like is noticed. | ||
publish: | ||
operationId: commentLiked | ||
message: | ||
description: Message that is being sent when a comment has been liked by someone. | ||
payload: | ||
$ref: '#/components/schemas/commentId' | ||
|
||
comment/unliked: | ||
description: Updates the likes count in the database when comment is unliked. | ||
publish: | ||
operationId: commentUnliked | ||
message: | ||
description: Message that is being sent when a comment has been unliked by someone. | ||
messageId: ddd | ||
payload: | ||
$ref: '#/components/schemas/commentId' | ||
|
||
components: | ||
schemas: | ||
commentId: | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
commentId: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters