Skip to main content

server-parameter-exists-in-server-url-template

Overview

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

Template parameters defined in the server configuration must be referenced by at least one or more server URLs.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageUnused server template parameter found.
CodeOPENAPI3APIMATIC_L116
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation
Tagsopenapi3 openapi apimatic semantic linting server parameter url template server configuration

Suggested Fixes

  • Explicitly define all server parameters in the server url template.

For More Information