mirror of
https://github.com/valitydev/swag-url-shortener.git
synced 2024-11-06 01:15:19 +00:00
MSPF-320: Explicitly allow 401s (#4)
This commit is contained in:
parent
d03407f562
commit
a3e9bac2d6
@ -18,5 +18,7 @@ post:
|
||||
$ref: '#/definitions/ShortenedUrl'
|
||||
'400':
|
||||
$ref: '#/responses/BadRequest'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'403':
|
||||
$ref: '#/responses/Forbidden'
|
||||
|
@ -13,6 +13,8 @@ get:
|
||||
$ref: '#/definitions/ShortenedUrl'
|
||||
'400':
|
||||
$ref: '#/responses/BadRequest'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'403':
|
||||
$ref: '#/responses/Forbidden'
|
||||
'404':
|
||||
@ -30,6 +32,8 @@ delete:
|
||||
description: Короткая ссылка удалена
|
||||
'400':
|
||||
$ref: '#/responses/BadRequest'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'403':
|
||||
$ref: '#/responses/Forbidden'
|
||||
'404':
|
||||
|
@ -41,6 +41,8 @@ security:
|
||||
responses:
|
||||
NotFound:
|
||||
description: Объект не найден
|
||||
Unauthorized:
|
||||
description: Операция требует авторизации
|
||||
Forbidden:
|
||||
description: Операция недоступна
|
||||
BadRequest:
|
||||
|
Loading…
Reference in New Issue
Block a user