fix(api): define correct inbound api payloads for external requests. Fixes #3966

This commit is contained in:
Gabe Kangas 2024-11-15 12:22:18 -08:00
parent 621aebdd3c
commit a566b9c9f1

View file

@ -2948,7 +2948,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/SystemMessage' $ref: '#/components/schemas/MessageEvent'
responses: responses:
'200': '200':
description: Message sent successfully description: Message sent successfully
@ -3045,7 +3045,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/UserMessage' $ref: '#/components/schemas/MessageEvent'
responses: responses:
'200': '200':
description: Message sent successfully description: Message sent successfully
@ -3079,7 +3079,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/SystemActionEvent' $ref: '#/components/schemas/MessageEvent'
responses: responses:
'200': '200':
description: Action sent successfully description: Action sent successfully