Skip to main content

unique-server-parameter

Overview

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

The server parameters defined in the server configuration of the API must have unique names.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate definitions of server parameter found in the server configuration.
CodeAPIMATICPRE_V047
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic name parameter template path server server configuration api

Suggested Fixes

  • Remove duplicate server parameter definitions.
  • Make sure all server parameters are assigned unique names.

For More Information