Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageInvalid sample value has been removed.
CodeAPIMATICPOSTPROCESS_V501
TypeValidation
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic 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.

For More Information