chore(openapi): set correct content type for server-sent events (#2045)

This commit is contained in:
Lubos
2025-08-23 05:51:24 +08:00
committed by GitHub
parent 0fe94c1616
commit 6e626afdcb

View File

@@ -103,7 +103,7 @@ export namespace Server {
200: { 200: {
description: "Event stream", description: "Event stream",
content: { content: {
"application/json": { "text/event-stream": {
schema: resolver( schema: resolver(
Bus.payloads().openapi({ Bus.payloads().openapi({
ref: "Event", ref: "Event",