Skip to main content

required-name

Overview

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

The root object of an I/O Docs file must specify a short user-friendly title of the API using the name property. If a name is not found, a default value for it will be assigned automatically during import/transformations in APIMatic.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property name in root object is missing.
CodeIODOCS_V050
TypeValidation
Rule SystemSemantic
Broad CategoryAPI Metadata
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsio docs semantic validation name metadata

Suggested Fixes

  • Add missing name property in the root object.
  • Make sure that the name property value is not null or empty.

For More Information