Skip to main content

response-mapping-required-field

Overview

This rule belongs to the apimatic-codegen-validation ruleset and states that:

A Data Field or an Error Field must be specified in the response mapping.

PropertyValue
EnabledYes
Maximum SeverityError
MessageResponse mapping has neither a Data Field specified nor an Error Field.
CodeAPIMATICCODEGEN_V101
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Responses
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic response mapping response endpoint

Suggested Fixes

  • Define a Data Field or an Error Field.

For More Information