Anypoint Best Practices

(14 reviews)

operations-must-have-descriptions

general > operations-must-have-descriptions


Guidance / Message

Provide descriptions for the operations.

Examples

valid

/events:
  get:
    displayName: get
    description: Gets a stream of results
    responses:
      200:
        description: Ok!
        body:
          application/json:
            type: string

invalid

/events:
  get:
    displayName: get # missing description
    responses:
      200:
        body:
          application/json:
            type: string

Applies to Operation

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