Anypoint Best Practices

(14 reviews)

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

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onDec 11, 2023
Asset overview

Asset versions for 1.6.x

Asset versions
VersionActions
1.6.1
1.6.0

Tags