From 6eb63ba2c0dc8124a0ce46c97e3904b355ea7bcf Mon Sep 17 00:00:00 2001 From: mitrikov Date: Tue, 23 Jun 2026 19:28:32 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=BE=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2/swagger.yaml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/v2/swagger.yaml b/v2/swagger.yaml index be716ad..66a0c31 100644 --- a/v2/swagger.yaml +++ b/v2/swagger.yaml @@ -6708,7 +6708,7 @@ paths: format: uuid - name: entity_id in: query - required: true + required: false description: "ID типа сущности (20 = User)" schema: type: integer @@ -6718,11 +6718,14 @@ paths: content: application/json: schema: - type: array - description: Массив UUID участников/сущностей - items: - type: string - format: uuid + type: object + properties: + id: + type: array + description: Массив UUID участников/сущностей + items: + type: string + format: uuid responses: 200: description: OK @@ -6755,18 +6758,22 @@ paths: format: uuid - name: entity_id in: query - required: true + required: false schema: type: integer + example: 20 requestBody: required: true content: application/json: schema: - type: array - items: - type: string - format: uuid + type: object + properties: + id: + type: array + items: + type: string + format: uuid responses: 204: description: No Content. @@ -6906,7 +6913,7 @@ paths: schema: type: object properties: - ids: + id: type: array items: type: string @@ -6993,7 +7000,7 @@ paths: schema: type: object properties: - ids: + id: type: array description: ID матриц (пусто = все завершённые) items: @@ -7059,7 +7066,7 @@ paths: schema: type: object properties: - ids: + id: type: array items: type: string @@ -7091,7 +7098,7 @@ paths: schema: type: object properties: - ids: + id: type: array items: type: string