get_response_schema
faststream.asyncapi.message.get_response_schema #
get_response_schema(
call: Optional[CallModel[Any, Any]], prefix: str = ""
) -> Optional[Dict[str, Any]]
Get the response schema for a given call.
PARAMETER | DESCRIPTION |
---|---|
call | The call model. |
prefix | A prefix to add to the schema keys. TYPE: |
RETURNS | DESCRIPTION |
---|---|
Optional[Dict[str, Any]] | The response schema as a dictionary. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/asyncapi/message.py
Last update: 2023-11-13