Skip to content

Info

faststream.asyncapi.schema.info.Info #

Bases: BaseModel

A class to represent information.

ATTRIBUTE DESCRIPTION
title

title of the information

version

version of the information (default: "1.0.0")

description

description of the information (default: "")

termsOfService

terms of service for the information (default: None)

contact

contact information for the information (default: None)

license

license information for the information (default: None)

title instance-attribute #

title

version class-attribute instance-attribute #

version = '1.0.0'

description class-attribute instance-attribute #

description = ''

termsOfService class-attribute instance-attribute #

termsOfService = None

contact class-attribute instance-attribute #

contact = None

license class-attribute instance-attribute #

license = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'