Open imbytecat opened 4 months ago
Describe the bug 调用 OpenAI 等语言模型时往往要输出文本流,Swagger UI 本身可以支持,但 Knife4j UI 不支持。
To Reproduce 输出 text/event-stream 类型数据
text/event-stream
Expected behavior 能正常显示结果而不是下载
Screenshots
Knife4j Version (please complete the following information): 4.5.0
4.5.0
Additional context N/A
Describe the bug 调用 OpenAI 等语言模型时往往要输出文本流,Swagger UI 本身可以支持,但 Knife4j UI 不支持。
To Reproduce 输出
text/event-stream
类型数据Expected behavior 能正常显示结果而不是下载
Screenshots
Knife4j Version (please complete the following information):
4.5.0
Additional context N/A