Skip to content

License

faststream.asyncapi.schema.License #

Bases: BaseModel

A class to represent a license.

Config

extra : allow additional attributes in the model (PYDANTIC_V2)

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

name instance-attribute #

name: str

url class-attribute instance-attribute #

url: Optional[AnyHttpUrl] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'