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