Skip to main content

no-binary-schema-for-json-response-content

Overview

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

The binary format cannot be used with schemas that are being used with JSON response content.

PropertyValue
EnabledNo
Maximum SeverityError
MessageThe format binary is not applicable to schemas associated with JSON response content.
CodeOPENAPI3APIMATIC_L674
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting binary schema response content json

Suggested Fixes

  • Ensure that the format of the schema is not set to binary for any schemas used within JSON response content.
  • Consider using another compatible format instead of binary for JSON response content.

For More Information