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.
| Property | Value |
|---|---|
| Enabled | No |
| Maximum Severity | Information |
| Message | Equivalent schema definition found. |
| Code | OPENAPI3APIMATIC_L660 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Schemas |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 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.