Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageSample value violates type restrictions and has been removed.
CodeAPIMATICPOSTPROCESS_V502
TypeValidation
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic 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.

For More Information