Skip to content

Does flask-restx support SSE response on swagger doc? #636

Open
@WilliamChen-luckbob

Description

@WilliamChen-luckbob

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions