diff --git a/docs/chat/chat-schema.yaml b/docs/chat/chat-schema.yaml index aa621003..fda2d25d 100644 --- a/docs/chat/chat-schema.yaml +++ b/docs/chat/chat-schema.yaml @@ -23,14 +23,10 @@ definitions: chatBody: type: object properties: - members: - type: object - properties: - user: - type: string - ref: '#/components/user' - role: - type: string + member: + type: string + memberRole: + type: string chat: type: object properties: diff --git a/docs/chat/chat.yaml b/docs/chat/chat.yaml index 2687b2a1..c6c729d4 100644 --- a/docs/chat/chat.yaml +++ b/docs/chat/chat.yaml @@ -16,8 +16,9 @@ paths: application/json: schema: $ref: '#/definitions/chatBody' - member: 6421d9833cdf38b706756dff - memberRole: student + example: + member: 6421d9833cdf38b706756dff + memberRole: student responses: 201: description: OK