Skip to main content

unique-server

Overview

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

The servers defined for an environment in the server configuration of the API must have unique names.

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

Suggested Fixes

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

For More Information