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. |