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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | The endpoint group used by the current endpoint is not defined at API level. |
| Code | APIMATICPRE_L041 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | Endpoints |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary 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.