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