asyncApiSecurity
asyncApiSecurity is an AsyncAPI-specific function for vacuum rules.
What does it validate?
Checks operation and server security entries against components.securitySchemes.
Options
No function options are required.
Result behavior
Unknown schemes and invalid $ref targets are reported on the security entry.
Example ruleset configuration
rules:
example-asyncapisecurity:
description: Validate AsyncAPI security scheme references.
severity: error
formats: [asyncapi3]
given: $
then:
function: asyncApiSecurity
