Skip to main content

pre-defined-server-parameter-for-server-url-template-expression

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

A parameter referenced by a server (a path or template parameter) must have a corresponding definition in the server configuration for server url template expression.

PropertyValue
EnabledYes
Maximum SeverityError
MessageServer parameter has a missing definition.
CodeOPENAPI3APIMATIC_L112
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation
Tagsopenapi3 openapi apimatic semantic linting parameter server url path parameter template

Suggested Fixes

  • Explicitly define all parameters used by the server in the server configuration parameters.

For More Information