Skip to main content

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.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageThe current type specified is not applicable to responses and has been converted to a valid equivalent type.
CodeAPIMATICPOSTPROCESS_V301
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Responses
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic 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".

For More Information