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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Response mapping has neither a Data Field specified nor an Error Field. |
| Code | APIMATICCODEGEN_V101 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoint Responses |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic code generation codegen sdks portal docs validation apimatic response mapping response endpoint |
Suggested Fixes
- Define a Data Field or an Error Field.