mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
TD-176: Add 401 errors to payres paths (#10)
This commit is contained in:
parent
1235c0abd6
commit
932fa254a0
@ -18,6 +18,8 @@ post:
|
||||
$ref: '#/definitions/StoreBankCardResponse'
|
||||
'400':
|
||||
$ref: '#/responses/BadRequest'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'422':
|
||||
description: Непригодные данные банковской карты
|
||||
schema:
|
||||
|
@ -19,5 +19,7 @@ get:
|
||||
$ref: '#/definitions/SecuredBankCard'
|
||||
'400':
|
||||
$ref: '#/responses/BadRequest'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
|
@ -45,6 +45,9 @@ responses:
|
||||
schema:
|
||||
$ref: '#/definitions/BadRequest'
|
||||
|
||||
Unauthorized:
|
||||
description: Ошибка авторизации
|
||||
|
||||
parameters:
|
||||
|
||||
requestID:
|
||||
|
Loading…
Reference in New Issue
Block a user