-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: release for version 2.4.0 of the spec (#740)
- Loading branch information
Showing
18 changed files
with
392 additions
and
22 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: AnyOf example | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Application Headers example | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Correlation ID Example | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
id: 'urn:com:gitter:streaming:api' | ||
info: | ||
title: Gitter Streaming API | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Mercure Hub Example | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Not example | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: OneOf example | ||
version: '1.0.0' | ||
|
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,106 @@ | ||
asyncapi: 2.4.0 | ||
info: | ||
title: Notifications | ||
version: 1.0.0 | ||
description: >- | ||
This contract defines HTTP Push notification for | ||
application authorization revocation topic | ||
channels: | ||
AUTHORIZATION_REVOCATION: | ||
subscribe: | ||
message: | ||
$ref: '#/components/messages/message' | ||
bindings: | ||
http: | ||
type: request | ||
method: POST | ||
headers: | ||
type: object | ||
properties: | ||
Content-Type: | ||
type: string | ||
enum: | ||
- application/json | ||
security: | ||
petstore_auth: | ||
- subscribe:auth_revocations | ||
components: | ||
messages: | ||
message: | ||
headers: | ||
type: object | ||
properties: | ||
X-SIGNATURE: | ||
description: ECC message signature | ||
type: string | ||
payload: | ||
type: object | ||
properties: | ||
metadata: | ||
$ref: '#/components/schemas/MetaData' | ||
notification: | ||
$ref: '#/components/schemas/Notification' | ||
schemas: | ||
MetaData: | ||
type: object | ||
properties: | ||
topic: | ||
type: string | ||
description: Topic subscribed to. | ||
schemaVersion: | ||
type: string | ||
description: The schema for this topic. | ||
deprecated: | ||
type: boolean | ||
description: If this is a deprecated schema or topic. | ||
default: 'false' | ||
Notification: | ||
type: object | ||
properties: | ||
notificationId: | ||
type: string | ||
description: The notification Id. | ||
eventDate: | ||
type: string | ||
description: The event date associated with this notification in UTC. | ||
publishDate: | ||
type: string | ||
description: The message publish date in UTC. | ||
publishAttemptCount: | ||
type: integer | ||
description: The number of attempts made to publish this message. | ||
data: | ||
$ref: '#/components/schemas/AuthorizationRevocationData' | ||
AuthorizationRevocationData: | ||
type: object | ||
description: The Authorization Revocation payload. | ||
properties: | ||
username: | ||
type: string | ||
description: The username for the user. | ||
userId: | ||
type: string | ||
description: The immutable public userId for the user | ||
eiasToken: | ||
type: string | ||
description: The legacy eiasToken specific to the user | ||
revokeReason: | ||
type: string | ||
enum: | ||
- REVOKED_BY_APP | ||
- REVOKED_BY_USER | ||
- REVOKED_BY_ADMIN | ||
- PASSWORD_CHANGE | ||
description: The reason for authorization revocation | ||
revocationDate: | ||
type: string | ||
description: Date and time when the authorization was revoked | ||
securitySchemes: | ||
petstore_auth: | ||
type: oauth2 | ||
description: The oauth security descriptions | ||
flows: | ||
clientCredentials: | ||
tokenUrl: 'https://example.com/api/oauth/dialog' | ||
scopes: | ||
subscribe:auth_revocations: Scope required for authorization revocation topic |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
id: 'urn:rpc:example:client' | ||
defaultContentType: application/json | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
id: 'urn:rpc:example:server' | ||
defaultContentType: application/json | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Account Service | ||
version: 1.0.0 | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
id: 'urn:com:slack:rtm:api' | ||
info: | ||
title: Slack Real Time Messaging API | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Streetlights Kafka API | ||
version: '1.0.0' | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
asyncapi: '2.3.0' | ||
asyncapi: '2.4.0' | ||
info: | ||
title: Streetlights MQTT API | ||
version: '1.0.0' | ||
|
Oops, something went wrong.