From b63cd548124dfe3fa2a240cd70aa8135e55442d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 13 Jul 2023 11:41:20 -0400 Subject: [PATCH] test: fix spec --- public/openapi/components/schemas/Chats.yaml | 3 +++ public/openapi/read/user/userslug/chats/roomid.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/public/openapi/components/schemas/Chats.yaml b/public/openapi/components/schemas/Chats.yaml index 7f8f1b8b85..1d21c26343 100644 --- a/public/openapi/components/schemas/Chats.yaml +++ b/public/openapi/components/schemas/Chats.yaml @@ -19,6 +19,9 @@ RoomObject: userCount: type: number description: number of users in this chat room + groups: + type: array + description: list of groups that can access the room timestamp: type: number description: Timestamp of when room was created diff --git a/public/openapi/read/user/userslug/chats/roomid.yaml b/public/openapi/read/user/userslug/chats/roomid.yaml index 278f20edbf..d776512925 100644 --- a/public/openapi/read/user/userslug/chats/roomid.yaml +++ b/public/openapi/read/user/userslug/chats/roomid.yaml @@ -36,6 +36,8 @@ get: type: number icon: type: string + groups: + type: array timestamp: type: number description: Timestamp of when room was created @@ -181,6 +183,8 @@ get: type: boolean userCount: type: number + groups: + type: array timestamp: type: number description: Timestamp of when room was created