predefined-endpoint-server
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Endpoint must use a pre-defined server from the API specification's server configuration.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Endpoint uses an undefined server. |
| Code | APIMATICPRE_V101 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoints |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic server endpoint |
Suggested Fixes
- Make sure the server linked in the endpoint is defined in the server configuration of the API.