Skip to main content

valid-merge-order-directory-path

Overview

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

If the base API metadata file specifies order in which the API directories need to be merged using the MergeConfiguration > MergeOrderOfDirectories list, each entry in this list must be a valid path to a directory relative to the current API metadata file.

PropertyValue
EnabledYes
Maximum SeverityError
MessagePath provided for API directory in merge order is inaccessible/invalid.
CodeMETADATA_V301
TypeValidation
Rule SystemSemantic
Broad CategoryMerge Configuration
Tagsmetadata api specification api file validation path directory order merge

Suggested Fixes

  • Ensure that each entry in the MergeOrderOfDirectories list is non-empty and non-null.
  • Ensure that each entry is a valid relative path to a directory.
  • Ensure that the path provided is accessible and has no typos or forbidden characters.
  • Ensure that the directory name provided in the path matches exactly with the actual name of the directory.

For More Information