example-value-restrictions
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
The sample value provided must obey all restrictions placed in the corresponding type definition.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Sample value violates type restrictions and has been removed. |
| Code | APIMATICPOSTPROCESS_V502 |
| 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
- Adjust the sample value so that it meets all type restrictions present in the corresponding type definition.
- Remove the restrictions from the corresponding type definition.