Skip to main content

at-least-one-parameter-example

Overview

This rule belongs to the openapi-v3-agentic-tools-linting ruleset and states that:

Examples significantly improve agentic tools' ability to infer parameter usage, constraints, and expected values. Define at least one valid example for every parameter.

PropertyValue
EnabledNo
Maximum SeverityError
MessageParameter should include at least one example.
CodeOPENAPI3AGENTICTOOLS_L331
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Parameters
Products ImpactedAgentic Tools Generation, Developer Experience Portal
Tagscode generation AI Agentic tools mcp llm openapi3 openapi semantic linting apimatic parameter example

Suggested Fixes

  • Provide at least one example that matches the parameter schema.
  • Use realistic values that reflect real-world usage.

For More Information