From 9cd5d1ae0652db37c526ff4c2b4027f0e71cd4b9 Mon Sep 17 00:00:00 2001 From: mitrikov Date: Wed, 7 May 2025 16:38:32 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE=D0=BA=20OrgEmploymentFi?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2/swagger.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/v2/swagger.yaml b/v2/swagger.yaml index 9f0a565..704de62 100644 --- a/v2/swagger.yaml +++ b/v2/swagger.yaml @@ -552,7 +552,6 @@ paths: 500: description: Server Error - /org-employment-file/index: get: tags: @@ -566,6 +565,12 @@ paths: schema: type: string format: uuid + - name: name + in: query + description: Search string of attached file name + schema: + type: string + maxLength: 64 - name: created_at in: query description: Creation date (ISO 8601 format) @@ -608,13 +613,6 @@ paths: schema: type: string maxLength: 64 - - name: user_id - in: query - description: User identifier (UUID) - required: false - schema: - type: string - format: uuid - name: file_id in: query description: File identifier (UUID) @@ -8902,6 +8900,11 @@ components: description: ID пользователя format: uuid example: 195e1707-3f5d-4780-8dc1-b1023e1f974f + file: + description: Файл кадрового документа + anyOf: + - $ref: '#/components/schemas/fileIndex' + - type: 'null' orgEmploymentFileType: type: string -- 2.54.0