Anypoint Best Practices

define-path-template-variables

general > define-path-template-variables


Guidance / Message

Unused path parameters in path template

Examples

valid

/test/{path-variable}:
  uriParameters:
    path-variable:
      type: string
  get: {}

invalid

/test:
uriParameters:
  path-variable_with_special-characters:
    type: string
get: {}

Applies to Operation

Constraint

Type: Rego Validation
TypeRuleset
OrganizationMuleSoft
Published by
Mulesoft Organization
Published onOct 26, 2026
Asset overview

Asset versions for 1.7.x

Asset versions
VersionActions
1.7.0

Tags