Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageBoolean value is using an unsupported variant and has been converted to one of the supported values.
CodeAPIMATICPOSTPROCESS_V510
TypeValidation
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation boolean sample value value sample