Skip to main content

server-parameter-cannot-be-constant

Overview

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

Server URL parameter cannot be declared as read-only or constant. Such parameters will be automatically marked as non-constant entities.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageServer URL parameter declared as read-only/constant has been marked as non-constant.
CodeAPIMATICPOSTPROCESS_V003
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation constant read only parameter server configuration api

Suggested Fixes

  • Avoid making server URL parameters read-only/constant.

For More Information