MSP-1388 [v] правки после review

This commit is contained in:
Leonid Nikolaev committed 2023-01-31 17:30:34 +03:00
1 parent e2250121a1
commit b7a932bfb9
17 files changed
+221 -390

No files matched your search

+23 -7
View File
@@ -18,10 +18,18 @@ paths:
post:
consumes:
- application/json
description: |-
`key` - строка для лока
`ttl` - число секунд после которых блокировка снимется автоматически
Возвращаем ключ для разблокировки
description: Возвращаем ключ для разблокировки
parameters:
- description: строка для лока
in: query
name: key
required: true
type: string
- description: число секунд после которых блокировка снимется автоматически
in: query
name: ttlInSec
required: true
type: integer
produces:
- application/json
responses:
@@ -36,9 +44,17 @@ paths:
post:
consumes:
- application/json
description: |-
`key` - строка для лока
`locKKey` - ключ для разблокировки, полученный из Lock
parameters:
- description: строка для лока
in: query
name: key
required: true
type: string
- description: ключ для разблокировки, полученный из Lock
in: query
name: lockKey
required: true
type: string
produces:
- application/json
responses: