Skip to main content

predefined-server-template-parameter

Overview

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

A template parameter referenced by a server must have a corresponding definition in the server configuration parameters.

PropertyValue
EnabledYes
Maximum SeverityError
MessageServer template parameter has a missing definition.
CodeAPIMATICPRE_V046
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic parameter template path server server configuration api

Suggested Fixes

  • Explicitly define all template parameters used by the server in the server configuration parameters.
  • Remove the parameter reference from the server URL.

For More Information