Skip to main content

unique-environment

Overview

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

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

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

Suggested Fixes

  • Remove duplicate environment definitions.
  • Make sure all environments are assigned unique names.

For More Information