Skip to content

Tag

faststream.asyncapi.schema.utils.Tag #

Bases: BaseModel

A class to represent a tag.

ATTRIBUTE DESCRIPTION
name

name of the tag

description

description of the tag (optional)

externalDocs

external documentation for the tag (optional)

name instance-attribute #

name

description class-attribute instance-attribute #

description = None

externalDocs class-attribute instance-attribute #

externalDocs = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'