AsyncAPI Best Practices

(0 reviews)

asyncapi-parameter-description

general > asyncapi-parameter-description


Guidance / Message

Parameter "{{core.name}}" should have a description.

Examples

valid

/endpoint:
  subscribe:
    operationId: subs-ops
    message:
      x-pageSize: 5
  parameters:
    userId:
      description: Id of the user.
      schema:
        type: string

invalid

/endpoint:
  subscribe:
    operationId: subs-ops
    message:
      x-pageSize: 5
  parameters:
    userId:
      schema:
        type: string

Applies to Parameter

Constraint

Type: Declarative Validation

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onNov 29, 2023
Asset overview

Asset versions for 1.1.x

Asset versions
VersionActions
1.1.0

Tags