Redefine AsyncAPI call #1045
Labels
area: examples
area: spec
Changes in the Specification
change: breaking
A breaking change that will impact in a major version change.
change: documentation
Improvements or additions to documentation. It won't impact a version change.
change: feature
New feature or request. Impacts in a minor version change
change: fix
Something isn't working. Impacts in a minor version change.
type: feature
Milestone
What would you like to be added?
Redefine AsyncAPI call, which is missing crucial properties to make it work as expected
Proposal(s):
Properties
externalResource
yes
string
yes
message
, in which case the channel'spublish
operation will be executed, orsubscription
, in which case the channel'ssubscribe
operation will be executed.Used only in case the referenced document uses AsyncAPI
v2.6.0
.string
yes
Used only in case the referenced document uses AsyncAPI
v3.0.0
.serverDefinition
no
If not set, default to the first server matching the operation's channel.
string
no
Ignored if
server
has been set.Supported values are:
amqp
,amqp1
,anypointmq
,googlepubsub
,http
,ibmmq
,jms
,kafka
,mercure
,mqtt
,mqtt5
,nats
,pulsar
,redis
,sns
,solace
,sqs
,stomp
andws
messageDefinition
no
Required if
subscription
has not been set.subscriptionDefinition
no
Required if
message
has not been set.string
authentication
no
Examples
Publish
Subscribe
AsyncAPI Server Definition
string
yes
object
no
AsyncAPI Message Definition
object
no
object
no
AsycnAPI Subscription Definition
string
no
subscriptionLifetimeDefinition
yes
integer
no
Required if
while
anduntil
have not been set.duration
no
duration
that defines for how long to consume messages.string
no
Required if
amount
anduntil
have not been set.string
no
Required if
amount
andwhile
have not been set.Alternative(s):
No response
Additional info:
No response
Community Notes
The text was updated successfully, but these errors were encountered: