Open
Description
Ask a question
Guys, do you have any suggestions regarding displaying Server-Side Event (SSE) responses within the Swagger UI?
I have certain functions that are related to AI and require a streaming output using SSE. I'm currently seeking methods to automatically generate documentation on Swagger through coding, such as using @ns.doc
where ns
stands for the Namespace
.
I've googled around and asked GPT for results, but haven't found any elegant solution that can directly integrate the SSE response into the Swagger documentation. If flask-restx doesn't support this kind of operation, please let me know.