Skip to main content

required-environment-information

Overview

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

To optimize agentic tools output, provide environment-specific details for each server defined in the OpenAPI document. This is best achieved using APIMatic's x-server-configuration extension, which helps distinguish production, staging, and other environments.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageInclude environment information for each server.
CodeOPENAPI3AGENTICTOOLS_L041
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Info
Products ImpactedAgentic Tools Generation, Code Generation, Developer Experience Portal
Tagscode generation AI Agentic tools mcp llm openapi3 openapi semantic linting apimatic info server environment x-server-configuration ServerConfiguration

Suggested Fixes

  • Use APIMatic's extension x-server-configuration in Info Object to specify environment details for each server.
  • If you are using APIMatic's metadata file, use ServerConfiguration object to define environment information.

For More Information