License
faststream.specification.asyncapi.v2_6_0.schema.License
#
Bases: BaseModel
A class to represent a license.
ATTRIBUTE | DESCRIPTION |
---|---|
name |
name of the license
|
url |
URL of the license (optional)
|
Config
extra : allow additional attributes in the model (PYDANTIC_V2)
from_spec
classmethod
#
from_spec(license: License) -> Self
from_spec(license: LicenseDict) -> Self