make_try_it_out_handler
faststream.asgi.factories.make_try_it_out_handler #
make_try_it_out_handler(
brokers: Iterable[BrokerUsecase[Any, Any, Any]],
description: str | None = None,
tags: Sequence[Union[Tag, TagDict, dict[str, Any]]]
| None = None,
unique_id: str | None = None,
include_in_schema: bool = False,
) -> PostHandler
POST handler for asyncapi-try-it-plugin (first owner of the channel wins).
Source code in faststream/asgi/factories/asyncapi/try_it_out.py
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |