referenced-object-allows-summary-override
Overview
This rule belongs to the openapi-v3-standards-linting
ruleset and states that:
If the property summary
is specified in the Reference Object as a sibling of property $ref
, it is expected to override one specified in the referenced object provided that the referenced object supports a summary
. If it does not, the Reference Object level summary
has no effect.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Information |
Message | The referenced object does not support a summary, therefore, the summary override provided in the Reference Object has no effect. |
Code | OPENAPI3STANDARDS_L142 |
Type | Linting |
Rule System | Semantic |
Broad Category | References |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi standards semantic linting summary reference ref $ref |
Suggested Fixes
- Remove the
summary
property from the Reference Object as it has no effect on the referenced object.