From a566b9c9f1f1d9c49333c173e82599f5c103ee47 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 15 Nov 2024 12:22:18 -0800 Subject: [PATCH] fix(api): define correct inbound api payloads for external requests. Fixes #3966 --- openapi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 6f1a93086..b085a01e3 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2948,7 +2948,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SystemMessage' + $ref: '#/components/schemas/MessageEvent' responses: '200': description: Message sent successfully @@ -3045,7 +3045,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserMessage' + $ref: '#/components/schemas/MessageEvent' responses: '200': description: Message sent successfully @@ -3079,7 +3079,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SystemActionEvent' + $ref: '#/components/schemas/MessageEvent' responses: '200': description: Action sent successfully