AsyncAPI Best Practices

asyncapi-channel-no-empty-parameter

general > asyncapi-channel-no-empty-parameter


Guidance / Message

Channel parameter declarations cannot be empty; ex./given/{} is invalid.

Examples

valid

channels:
  /endpoint/{userId}:
    parameters:
      userId:
        description: Id of the user.
        schema:
          type: string

invalid

channels:
  /endpoint/{}:
    parameters:
      userId:
        description: Id of the user.
        schema:
          type: string

Applies to EndPoint

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
Mulesoft Organization
Published onOct 26, 2026
Asset overview

Asset versions for 1.3.x

Asset versions
VersionActions
1.3.0

Tags