Skip to main content

no-response-content-implies-reponse-with-no-body

Overview

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

If a response does not contain a content object, it implies that there is no response body expected.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageResponse content is missing.
CodeOPENAPI3APIMATIC_L463
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Responses
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting response content

Suggested Fixes

  • Define missing content object in case it has been missed.

For More Information