ApplicationSchema
faststream.specification.asyncapi.v2_6_0.schema.ApplicationSchema #
Bases: BaseApplicationSchema
A class to represent an application schema.
externalDocs class-attribute instance-attribute #
externalDocs: ExternalDocs | dict[str, Any] | None = None
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 | |