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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | File contents are empty, null or inaccessible. |
| Code | IMPORT_V100 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | File I/O Content |
| Tags | import 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.