Anypoint Best Practices

(14 reviews)

headers-must-have-descriptions

general > headers-must-have-descriptions


Guidance / Message

Header '{{core.name}}' must have description.

Examples

valid

responses:
  200:
    description: All profiles
    headers:
      content-type:
        description: a header
        type: string
        example:
          'application/json'

invalid

responses:
  200:
    description: All profiles
    headers:
      content-type:
        type: string
        example:
          'application/json'

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