Server
faststream.specification.asyncapi.v3_0_0.schema.Server #
Bases: BaseModel
A class to represent a server.
Note
The attributes description, protocolVersion, tags, security, variables, and bindings are all optional.
Configurations
If PYDANTIC_V2 is True, the model configuration is set to allow extra attributes. Otherwise, the Config class is defined with the extra attribute set to "allow".
variables class-attribute instance-attribute #
variables: dict[str, ServerVariable | Reference] | None = (
None
)