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
commit 6e626afdcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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",