same-environment-server-set
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
The server sets of environments in the server configuration of the API must be the same i.e. the total number of servers and their names in each environment must be the same.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Not all environments have the same servers defined. |
Code | APIMATICPRE_V035 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic server environment server configuration api |
Suggested Fixes
- Make sure that the server sets across environments are the same.
- Add missing servers in each environment if any.
- Remove extra servers from each environment if any.
- Make sure that the count of servers in each environment is same.
- Make sure that the names of servers across environments are the same.