Anypoint Best Practices

(14 reviews)

node-shapes-must-have-descriptions

general > node-shapes-must-have-descriptions


Guidance / Message

Shape '{{shacl.name}}' should have a description.

Examples

valid

types:
  MessgeResult:
    type: object
    description: "some description"
    additionalProperties: false
    properties:
      count:
        type: integer

invalid

types:
  MessageResult:
    type: object # missing description
    additionalProperties: false
    properties:
      count:
        type: integer

Applies to NodeShape

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