diff --git a/src/main/resources/openapi-contract.yaml b/src/main/resources/openapi-contract.yaml index fb2192d..0007995 100644 --- a/src/main/resources/openapi-contract.yaml +++ b/src/main/resources/openapi-contract.yaml @@ -21,6 +21,8 @@ paths: summary: Получение qr кодов description: Получение qr кодов за сегодня, за исключением прошедшего времени operationId: getQrCodes + security: + - bearerAuth: [ ] responses: '200': description: Successful operation @@ -46,6 +48,8 @@ paths: summary: Отметка qr-кода как использованного(Для сбора метрик). description: Отправляется микрокомпьютером, когда qr-код был задействован. operationId: markQrCodeAsUsed + security: + - bearerAuth: [ ] responses: '200': description: Successfull mark @@ -80,4 +84,9 @@ components: keyCode: type: string format: uuid - example: 'dd654b6c-a671-488e-8fc9-eb564d0a8f22' \ No newline at end of file + example: 'dd654b6c-a671-488e-8fc9-eb564d0a8f22' + securitySchemes: + bearerAuth: + type: http + scheme: bearer + bearerFormat: JWT \ No newline at end of file