From a13bb75600c7e3b12624493fa6381e08196c48f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 26 Nov 2020 01:03:04 +0100 Subject: [PATCH] need refresh for logout --- backend.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/backend.yml b/backend.yml index ff7433e..1e49451 100644 --- a/backend.yml +++ b/backend.yml @@ -46,6 +46,22 @@ paths: schema: $ref: '#/components/schemas/ApiResponse' + /api/auth/refresh: + delete: + tags: + - backend + summary: Refreshes jwt token + operationId: refreshtoken + responses: + 204: + description: successful operation + 401: + description: Incorrect credentials + content: + application/json: + schema: + $ref: '#/components/schemas/ApiResponse' + /api/auth/logoff: delete: tags: