required-server-parameter-default-value
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
Server parameter definition in the server configuration of the API must specify a non-empty non-null default value.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required default value is missing for server parameter. |
Code | APIMATICPRE_V049 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration Parameters |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic default value parameter template path server server configuration api |
Suggested Fixes
- Set a default value for each server parameter.
- Default value must not be null or empty.