ApplicationSchema
faststream.specification.asyncapi.v3_0_0.schema.ApplicationSchema #
Bases: BaseApplicationSchema
A class to represent an application schema.
channels class-attribute instance-attribute #
channels: dict[str, Channel] = Field(default_factory=dict)
operations class-attribute instance-attribute #
operations: dict[str, Operation] = Field(
default_factory=dict
)
to_jsonable #
to_jsonable() -> Any
Convert the schema to a JSON-serializable object.
Source code in faststream/specification/base/schema.py
29 30 31 32 33 34 35 | |
to_json #
to_json() -> str
Convert the schema to a JSON string.
Source code in faststream/specification/base/schema.py
37 38 39 40 41 42 43 | |
to_yaml #
to_yaml() -> str
Convert the schema to a YAML string.
Source code in faststream/specification/base/schema.py
45 46 47 48 49 50 51 | |