BaseApplicationSchema
faststream.specification.base.schema.BaseApplicationSchema #
Bases: BaseModel
A class to represent a Pydantic-serializable application schema.
| METHOD | DESCRIPTION |
|---|---|
to_jsonable | Convert the schema to a JSON-serializable object. |
to_json | Convert the schema to a JSON string. |
to_yaml | Convert the schema to a YAML string. |
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 | |