valid-boolean-value
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
A boolean entity can only have one of the two possible values: 'true' or 'false'. Any other variants e.g. 0, 1, y, etc. are not allowed and will either be ignored or converted to a valid variant.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Boolean value is using an unsupported variant and has been converted to one of the supported values. |
| Code | APIMATICPOSTPROCESS_V510 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Examples |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic postprocessing validation boolean sample value value sample |