Skip to main content

example-value-restrictions

Overview

This rule belongs to the apimatic-docs-linting 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.
CodeAPIMATICDOCS_L105
TypeLinting
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedDeveloper Experience Portal
Tagsportal generation portal docs linting apimatic 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