Skip to main content

unique-tags

Overview

This rule belongs to the openapi-v3-agentic-tools-linting ruleset and states that:

The 'tags' array in the OpenAPI root must contain unique tag names. Duplicate tags create ambiguity in documentation, code generation, and agentic tools. Ensuring tag name uniqueness improves categorization, clarity, and tool-generated outputs.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageTags must have unique names.
CodeOPENAPI3AGENTICTOOLS_L001
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Root Information
Products ImpactedAgentic Tools Generation, Code Generation, Developer Experience Portal
Tagscode generation AI Agentic tools mcp llm openapi3 openapi semantic linting apimatic tags name unique duplicate

Suggested Fixes

  • Ensure each tag in the 'tags' array has a unique 'name'. Rename or remove duplicates.

For More Information