Skip to main content

reference-object-summary-overrides-referenced-object-summary

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 and also specified in the object referenced using $ref, the Reference Object level summary will override the one provided in the referenced object.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageSummary specified in the Reference Object overrides the summary provided in the referenced object.
CodeOPENAPI3STANDARDS_L141
TypeLinting
Rule SystemSemantic
Broad CategoryReferences
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic linting summary reference ref $ref

Suggested Fixes

  • If you do not want the summary in the referenced object to be overridden this way, remove the summary property from the Reference Object.

For More Information