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)

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

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'

Last update: 2023-11-13