Skip to main content

valid-file-path

Overview

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

The path provided to a file must be an absolute path and the specified file must exist at that path.

PropertyValue
SeverityBlocking
MessageFile does not exist at the specified path.
CodeIMPORT_V002
TypeValidation
Rule SystemSemantic
Broad CategoryFile I/O Accessibility
Tagsimport api specification api file validation file path absolute path read

Suggested Fixes

  • Make sure that the path is valid.
  • Make sure that the file name matches exactly with the name specified in the file path.
  • Make sure that the file exists at the path specified.
  • Make sure that the file path is accessible.