openapi: Use enum for message_type.

This commit is contained in:
Steve Howell 2020-08-14 13:55:38 +00:00 committed by Steve Howell
parent 201df3432d
commit 5931ebffd2
1 changed files with 3 additions and 0 deletions

View File

@ -1707,6 +1707,9 @@ paths:
The type of message. Either 'stream' or 'private'. The other keys
present in the event, necessary to update various frontend data structures
that might be tracking the message, depend on the message type.
enum:
- private
- stream
recipient_id:
type: integer
description: |