valid-response-primitive-type
Overview
This rule belongs to the apimatic-post-processing-validation
ruleset and states that:
Some types like "File" and "Object" are not applicable to responses and, therefore, will be auto-converted to their equivalent valid types.
Property | Value |
---|---|
Enabled | No |
Maximum Severity | Warning |
Message | The current type specified is not applicable to responses and has been converted to a valid equivalent type. |
Code | APIMATICPOSTPROCESS_V301 |
Type | Validation |
Rule System | Semantic |
Broad Category | Endpoint Responses |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic postprocessing validation type primitive type scalar type response endpoint |
Suggested Fixes
- Use only valid and supported primitive types for responses e.g. "Binary" instead of "File", "Dynamic" instead of "Object".