Skip to main content

non-empty-file

Overview

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

File contents must not be empty or null or inaccessible.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageFile contents are empty, null or inaccessible.
CodeIMPORT_V100
TypeValidation
Rule SystemSemantic
Broad CategoryFile I/O Content
Tagsimport api specification api file validation content

Suggested Fixes

  • Make sure that the file is not empty
  • Make sure that the file contents are valid and do not contain any forbidden characters preventing read operations.