Add remove method by csv

This commit is contained in:
kostyastruga 2024-08-13 16:16:22 +03:00
parent 5de4467eb7
commit 052cc1b833
3 changed files with 111 additions and 3176 deletions

View File

@ -104,6 +104,8 @@ paths:
$ref: ./paths/payments/lists/insertFromCsv.yaml
/payments-lists/{id}:
$ref: ./paths/payments/lists/removeRow.yaml
/payments-lists/remove/csv:
$ref: ./paths/payments/lists/removeByCsv.yaml
/payments-lists/availableListNames:
$ref: ./paths/payments/lists/getAvailableListNames.yaml
/payments-lists/currentListNames:

View File

@ -0,0 +1,28 @@
post:
summary: Удаление записей из ЧБ списки по csv
operationId: deleteByCsv
tags:
- lists
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
listType:
type: string
file:
type: string
format: binary
responses:
'201':
description: Load file with lists
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found

3257
package-lock.json generated

File diff suppressed because it is too large Load Diff