diff --git a/openapi-full.json b/openapi-full.json index d65693ed2b..7c4ff1ff37 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -4825,18 +4825,6 @@ }, "304": { "description": "No messages", - "headers": { - "X-Chat-Last-Common-Read": { - "schema": { - "type": "string" - } - }, - "X-Chat-Last-Given": { - "schema": { - "type": "string" - } - } - }, "content": { "application/json": { "schema": { @@ -4855,12 +4843,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChatMessageWithParent" - } - } + "data": {} } } } @@ -5941,18 +5924,6 @@ }, "304": { "description": "No messages", - "headers": { - "X-Chat-Last-Common-Read": { - "schema": { - "type": "string" - } - }, - "X-Chat-Last-Given": { - "schema": { - "type": "string" - } - } - }, "content": { "application/json": { "schema": { @@ -5971,12 +5942,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChatMessageWithParent" - } - } + "data": {} } } } diff --git a/openapi.json b/openapi.json index f1cc7f89f8..dafaa2c7c2 100644 --- a/openapi.json +++ b/openapi.json @@ -4712,18 +4712,6 @@ }, "304": { "description": "No messages", - "headers": { - "X-Chat-Last-Common-Read": { - "schema": { - "type": "string" - } - }, - "X-Chat-Last-Given": { - "schema": { - "type": "string" - } - } - }, "content": { "application/json": { "schema": { @@ -4742,12 +4730,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChatMessageWithParent" - } - } + "data": {} } } } @@ -5828,18 +5811,6 @@ }, "304": { "description": "No messages", - "headers": { - "X-Chat-Last-Common-Read": { - "schema": { - "type": "string" - } - }, - "X-Chat-Last-Given": { - "schema": { - "type": "string" - } - } - }, "content": { "application/json": { "schema": { @@ -5858,12 +5829,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChatMessageWithParent" - } - } + "data": {} } } } diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 3a7fbf37ca..90ec9bcd5f 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -1941,15 +1941,11 @@ export type operations = { }; /** @description No messages */ 304: { - headers: { - "X-Chat-Last-Common-Read"?: string; - "X-Chat-Last-Given"?: string; - }; content: { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: components["schemas"]["ChatMessageWithParent"][]; + data: unknown; }; }; }; @@ -2329,15 +2325,11 @@ export type operations = { }; /** @description No messages */ 304: { - headers: { - "X-Chat-Last-Common-Read"?: string; - "X-Chat-Last-Given"?: string; - }; content: { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: components["schemas"]["ChatMessageWithParent"][]; + data: unknown; }; }; }; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 846a56ce41..52251109bf 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -1772,15 +1772,11 @@ export type operations = { }; /** @description No messages */ 304: { - headers: { - "X-Chat-Last-Common-Read"?: string; - "X-Chat-Last-Given"?: string; - }; content: { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: components["schemas"]["ChatMessageWithParent"][]; + data: unknown; }; }; }; @@ -2160,15 +2156,11 @@ export type operations = { }; /** @description No messages */ 304: { - headers: { - "X-Chat-Last-Common-Read"?: string; - "X-Chat-Last-Given"?: string; - }; content: { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: components["schemas"]["ChatMessageWithParent"][]; + data: unknown; }; }; };