Skip to main content

server-parameter-cannot-be-constant

Overview

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

Server URL parameter cannot be declared as read-only or constant.

PropertyValue
EnabledYes
Maximum SeverityError
MessageServer URL parameter declared as read-only which is not allowed.
CodeAPIMATICPRE_V053
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic constant read only parameter server configuration api

Suggested Fixes

  • Remove any attributes of the server URL parameter that makes it read-only/constant.

For More Information