johanbrandhorst/grpc-gateway-boilerplate

Handling streaming responses in swagger web page

Closius opened this issue · 1 comments

Hi, thank you for the project!

Is there a simplest way to handle streaming responses in Swagger web page (which is based on auto gen swagger .json)?

The default swagger UI unfortunately does not support streaming responses, but you can implement a client yourself that can use server side streaming by parsing the specified structure in the swagger file as the object in newline delimited JSON responses.