Contact
faststream.specification.asyncapi.v2_6_0.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])
|
from_spec
classmethod
#
from_spec(contact: Contact) -> Self
from_spec(contact: ContactDict) -> Self