Skip to main content

resolvable-reference

Overview

This rule belongs to the import-validation ruleset and states that:

If a component is referenced using a local or external reference path, the path must be resolvable.

PropertyValue
SeverityBlocking
MessageReference could not be resolved.
CodeIMPORT_V200
TypeValidation
Rule SystemSemantic
Broad CategoryReferences Rules
Tagsimport api specification api file validation reference $ref

Suggested Fixes

  • If this is a local reference, make sure that the component exists at the path specified. A local reference usually starts with a #.
  • If this is an external reference to a local file, make sure that the relative path to the file is valid and the component exists in that file.
  • If this is an external reference to a file via a URL, make sure that the URL is publicly accessible.