Skip to content

Operation

faststream.asyncapi.schema.Operation #

Bases: BaseModel

A class to represent an operation.

ATTRIBUTE DESCRIPTION
operationId

ID of the operation

summary

summary of the operation

description

description of the operation

bindings

bindings of the operation

message

message of the operation

security

security details of the operation

tags

tags associated with the operation

externalDocs

external documentation for the operation

operationId class-attribute instance-attribute #

operationId = None

summary class-attribute instance-attribute #

summary = None

description class-attribute instance-attribute #

description = None

bindings class-attribute instance-attribute #

bindings = None

message instance-attribute #

message

security class-attribute instance-attribute #

security = None

tags class-attribute instance-attribute #

tags = None

externalDocs class-attribute instance-attribute #

externalDocs = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'