valid-example-value
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
The sample value provided must be valid according to the type definition of the component to which it belongs.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Invalid sample value has been removed. |
| Code | APIMATICPOSTPROCESS_V501 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Examples |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic postprocessing validation sample value example |
Suggested Fixes
- Check that no required properties are missing in the sample value.
- Check that types of all properties match those specified in the type definition.