Anypoint Best Practices

define-path-params

general > define-path-params


Guidance / Message

Parameters referenced in the path string must be defined

Examples

valid

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

invalid

/test/{path-variable}:
  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