Skip to content

Operation

faststream.asyncapi.schema.Operation #

Bases: BaseModel

A class to represent an operation.

bindings class-attribute instance-attribute #

bindings: Optional[OperationBinding] = None

description class-attribute instance-attribute #

description: Optional[str] = None

externalDocs class-attribute instance-attribute #

externalDocs: Optional[
    Union[ExternalDocs, ExternalDocsDict, Dict[str, Any]]
] = None

message instance-attribute #

message: Union[Message, Reference]

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

operationId class-attribute instance-attribute #

operationId: Optional[str] = None

security class-attribute instance-attribute #

security: Optional[Dict[str, List[str]]] = None

summary class-attribute instance-attribute #

summary: Optional[str] = None

tags class-attribute instance-attribute #

tags: Optional[
    List[Union[Tag, TagDict, Dict[str, Any]]]
] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'