Skip to content

Commit

Permalink
chore: remove fixes which will be added later on
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeshKumar923 committed Jul 4, 2024
1 parent f31ff2a commit 7ebc2b3
Showing 1 changed file with 9 additions and 31 deletions.
40 changes: 9 additions & 31 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -861,19 +861,6 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
"action": "send",
"security": [
{
"type": "oauth2",
"description": "The oauth security descriptions",
"flows": {
"clientCredentials": {
"tokenUrl": "https://example.com/api/oauth/dialog",
"availableScopes": {
"subscribe:auth_revocations": "Scope required for authorization revocation topic"
}
}
},
"scopes": [
"subscribe:auth_revocations"
],
"petstore_auth": [
"write:pets",
"read:pets"
Expand All @@ -894,7 +881,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
{ "$ref": "#/components/operationTraits/kafka" }
],
"messages": [
{ "$ref": "#/channels/userSignup/messages/userSignedUp" }
{ "$ref": "/components/messages/userSignedUp" }
],
"reply": {
"address": {
Expand All @@ -904,8 +891,8 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
"$ref": "#/channels/userSignupReply"
},
"messages": [
{ "$ref": "#/channels/userSignupReply/messages/userSignedUpReply" }
]
{ "$ref": "/components/messages/userSignedUpReply" }
],
}
}
```
Expand All @@ -919,18 +906,9 @@ channel:
$ref: '#/channels/userSignup'
action: send
security:
- type: oauth2
description: The oauth security descriptions
flows:
clientCredentials:
tokenUrl: 'https://example.com/api/oauth/dialog'
availableScopes:
'subscribe:auth_revocations': Scope required for authorization revocation topic
scopes:
- 'subscribe:auth_revocations'
petstore_auth:
- 'write:pets'
- 'read:pets'
- petstore_auth:
- write:pets
- read:pets
tags:
- name: user
- name: signup
Expand All @@ -939,16 +917,16 @@ bindings:
amqp:
ack: false
traits:
- $ref: '#/components/operationTraits/kafka'
- $ref: "#/components/operationTraits/kafka"
messages:
- $ref: '#/channels/userSignup/messages/userSignedUp'
- $ref: '#/components/messages/userSignedUp'
reply:
address:
location: '$message.header#/replyTo'
channel:
$ref: '#/channels/userSignupReply'
messages:
- $ref: '#/channels/userSignupReply/messages/userSignedUpReply'
- $ref: '#/components/messages/userSignedUpReply'
```

#### <a name="operationTraitObject"></a>Operation Trait Object
Expand Down

0 comments on commit 7ebc2b3

Please sign in to comment.