predefined-default-server
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
The default server specified in the server configuration of the API must have a corresponding definition in all of the server configuration environment servers.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | The default server is undefined. |
Code | APIMATICPRE_V033 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic server server configuration api |
Suggested Fixes
- Define the server in the server configuration servers.
- Make sure the server name is not misspelled.