Skip to main content

endpoint-group-globally-defined

Overview

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

An endpoint can only be placed inside an endpoint group which is pre-defined under the API level endpoint groups definition.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageThe endpoint group used by the current endpoint is not defined at API level.
CodeAPIMATICPRE_L041
TypeLinting
Rule SystemSemantic
Broad CategoryEndpoints
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks linting apimatic endpoint group group tag endpoint

Suggested Fixes

  • Ensure that the endpoint group is defined in the API level endpoint groups.
  • Make sure that the name of the endpoint group used in the endpoint and the one defined globally at API level match exactly.
  • Names are compared in a case-sensitive manner.

For More Information