Skip to content

ServerVariable

faststream.asyncapi.schema.servers.ServerVariable #

Bases: BaseModel

A class to represent a server variable.

Note

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

default class-attribute instance-attribute #

default: Optional[str] = None

description class-attribute instance-attribute #

description: Optional[str] = None

enum class-attribute instance-attribute #

enum: Optional[List[str]] = None

examples class-attribute instance-attribute #

examples: Optional[List[str]] = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'

Last update: 2023-11-13