Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired default value is missing for server parameter.
CodeAPIMATICPRE_V049
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.

For More Information