Skip to content

Components

faststream.asyncapi.schema.Components #

Bases: BaseModel

A class to represent components in a system.

ATTRIBUTE DESCRIPTION
messages

Optional dictionary of messages

schemas

Optional dictionary of schemas

Note

The following attributes are not implemented yet: - servers - serverVariables - channels - securitySchemes - parameters - correlationIds - operationTraits - messageTraits - serverBindings - channelBindings - operationBindings - messageBindings

messages class-attribute instance-attribute #

messages = None

schemas class-attribute instance-attribute #

schemas = None

securitySchemes class-attribute instance-attribute #

securitySchemes = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'