no-binary-schema-for-operation-parameter
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 within operation parameters.
| Property | Value |
|---|---|
| Enabled | No |
| Maximum Severity | Error |
| Message | The format binary is not applicable to schemas associated with operation parameters. |
| Code | OPENAPI3APIMATIC_L672 |
| 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 operation parameter |
Suggested Fixes
- Ensure that the format of the schema is not set to
binaryfor any schemas used within operation parameters. - Consider using another compatible format instead of
binaryfor operation parameters. - Try adding the
binarytype property schema in form parameters.