asyncApiServerVariables
asyncApiServerVariables is an AsyncAPI-specific function for vacuum rules.
What does it validate?
Compares server host and pathname template variables with declared server variables.
Options
No function options are required.
Result behavior
Missing and unused variables are reported close to the server or variable node.
Example ruleset configuration
rules:
example-asyncapiservervariables:
description: Validate server template variables.
severity: error
formats: [asyncapi3]
given: $
then:
function: asyncApiServerVariables
