Skip to main content

no-equivalent-schema-definitions

Overview

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

Schema definitions must be unique, equivalent definitions lead to unnecessarily large specifications.

PropertyValue
EnabledNo
Maximum SeverityInformation
MessageEquivalent schema definition found.
CodeOPENAPI3APIMATIC_L660
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting schema equivalent

Suggested Fixes

  • Ensure that there are no equivalent schema definitions.
  • Keep only one of the equivalent schema definitions and remove the other.

For More Information