mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 17:54:23 +01:00
chore(openapi): set correct content type for server-sent events (#2045)
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user