Schema
faststream.asyncapi.schema.Schema #
Bases: BaseModel
A class to represent a 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. |
externalDocs class-attribute
instance-attribute
#
externalDocs: Optional[
Union[ExternalDocs, ExternalDocsDict, Dict[str, Any]]
] = None