Skip to content

Contact

faststream.asyncapi.schema.Contact #

Bases: BaseModel

A class to represent a contact.

ATTRIBUTE DESCRIPTION
name

name of the contact (str)

url

URL of the contact (Optional[AnyHttpUrl])

email

email of the contact (Optional[EmailStr])

name instance-attribute #

name

url class-attribute instance-attribute #

url = None

email class-attribute instance-attribute #

email = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'