Skip to main content

valid-server-parameter-default-value

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

The default value specified in the server parameter definition must be valid according to the type definition of this parameter.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDefault value of server parameter is invalid.
CodeAPIMATICPRE_V050
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

  • Make sure that the default value corresponds with the type definition of the server parameter.
  • Default value must not be null or empty.

For More Information