Fixed API return type in documentation (#28984)

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Этот коммит содержится в:
Arya Khochare
2024-11-19 14:59:17 +05:30
коммит произвёл GitHub
родитель c6a7a8f628
Коммит 2d21f44ede
2 изменённых файлов: 19 добавлений и 2 удалений

Просмотреть файл

@@ -3059,6 +3059,19 @@ components:
format: int64 format: int64
has_syncables: has_syncables:
type: boolean type: boolean
GroupMember:
type: object
properties:
group_id:
type: string
user_id:
type: string
create_at:
type: integer
format: int64
delete_at:
type: integer
format: int64
GroupSyncableTeam: GroupSyncableTeam:
type: object type: object
properties: properties:

Просмотреть файл

@@ -854,7 +854,9 @@
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/StatusOK" type: array
items:
$ref: "#/components/schemas/GroupMember"
post: post:
tags: tags:
- groups - groups
@@ -898,7 +900,9 @@
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/StatusOK" type: array
items:
$ref: "#/components/schemas/GroupMember"
"/api/v4/groups/{group_id}/stats": "/api/v4/groups/{group_id}/stats":
get: get:
tags: tags: