Add authorization to hardware contract
This commit is contained in:
		
							parent
							
								
									95f866cd78
								
							
						
					
					
						commit
						2cc798376c
					
				| @ -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' | ||||
|           example: 'dd654b6c-a671-488e-8fc9-eb564d0a8f22' | ||||
|   securitySchemes: | ||||
|     bearerAuth: | ||||
|       type: http | ||||
|       scheme: bearer | ||||
|       bearerFormat: JWT | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user