Skip to main content

required-tag-name

Overview

This rule belongs to the swagger-v2-standards-validation ruleset and states that:

The Tag Object must specify a user-friendly name for the tag using the name property.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property name in the Tag Object is missing.
CodeSWAGGER20STANDARDS_V260
TypeValidation
Rule SystemSemantic
Broad CategoryTags
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsswagger2 swagger standards semantic validation name tag

Suggested Fixes

  • Add missing name property in the Tag Object.
  • Make sure that the name property is not null or empty.

For More Information