Skip to main content

atleast-one-server-template-parameter-reference

Overview

This rule belongs to the apimatic-preliminary-linting ruleset and states that:

Template parameters defined in the server configuration must be referenced by at least one or more server URLs.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageUnused server template parameter found.
CodeAPIMATICPRE_L011
TypeLinting
Rule SystemSemantic
Broad CategoryServer Configuration
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks linting apimatic parameter template path server configuration

Suggested Fixes

  • Remove all unused template parameters from the server configuration.
  • Update server URLs to include parameter reference where needed.

For More Information