Anypoint Best Practices

(14 reviews)

query-params-must-have-descriptions

general > query-params-must-have-descriptions


Guidance / Message

Query parameter: '{{core.name}}' must have a description.

Examples

valid

/events:
  get:
    queryParameters:
      organization:
        displayName: Organization
        type: string
        description: Organization to use, if none is sent the organization for the user is used.

invalid

/events:
  get:
    queryParameters:
      organization:
        displayName: Organization
        type: string # Missing description

Applies to Parameter

Constraint

Type: Declarative 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