asyncApiOperationChannel
asyncApiOperationChannel is an AsyncAPI-specific function for vacuum rules.
What does it validate?
Ensures operations declare a channel and that the channel reference exists.
Options
No function options are required.
Result behavior
Missing channels are reported on the operation; bad references are reported on the channel reference.
Example ruleset configuration
rules:
example-asyncapioperationchannel:
description: Validate operation channel references.
severity: error
formats: [asyncapi3]
given: $
then:
function: asyncApiOperationChannel
