aiohttp-swagger
aiohttp-swagger copied to clipboard
Support for "Try it out" feature with incremental/streaming endpoints?
Is it possible to use the web interface "Try it out" feature, with a REST endpoing which sends data incrementally, and never returns a response code? The server does like this:
resp = web.StreamResponse()
await resp.prepare(request)
while True:
message = await queue.get()
await resp.write(message.encode("utf-8"))