asyncapi-3-document-unresolved
Checking if the AsyncAPI v3 document has valid structure before resolving references.
- Applies to
document- Selects
$- Function
function- Specs
- AsyncAPI 3.x
- Message
{{error}}
Use it
This rule ships with OpenLint in spectral:asyncapi. Extending the ruleset turns it on:
extends: spectral:asyncapi
rules:
asyncapi-3-document-unresolved: error # or off, or another severity
Definition
As defined in @openlint/openlint-rulesets. Functions show by name.
asyncapi-3-document-unresolved:
description: >-
Checking if the AsyncAPI v3 document has valid structure before resolving
references.
message: '{{error}}'
severity: error
recommended: true
formats:
- AsyncAPI 3.x
given: $
resolved: false
then:
function: function
functionOptions:
resolved: false
About this rule
Validate structure of AsyncAPI specification before references have been resolved.