Channel
faststream.specification.asyncapi.v2_6_0.schema.channels.Channel
#
Bases: BaseModel
A class to represent a channel.
ATTRIBUTE | DESCRIPTION |
---|---|
description |
optional description of the channel
|
servers |
optional list of servers associated with the channel
|
bindings |
optional channel binding
|
subscribe |
optional operation for subscribing to the channel
|
publish |
optional operation for publishing to the channel
|
Configurations
model_config : configuration for the model (only applicable for Pydantic version 2) Config : configuration for the class (only applicable for Pydantic version 1)