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.
| Property | Value |
|---|---|
| Enabled | No |
| Maximum Severity | Error |
| Message | The format binary is not applicable to schemas associated with JSON response content. |
| Code | OPENAPI3APIMATIC_L674 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Schemas |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting binary schema response content json |
Suggested Fixes
- Ensure that the format of the schema is not set to
binaryfor any schemas used within JSON response content. - Consider using another compatible format instead of
binaryfor JSON response content.