improved API documentation + error handling

This commit is contained in:
Bernhard B
2020-10-05 18:32:59 +02:00
parent 023d10f648
commit 9ffc03e8f3
4 changed files with 25 additions and 3 deletions

View File

@@ -183,6 +183,10 @@ paths:
description: Image
schema:
type: string
"400":
description: Bad Request
schema:
$ref: '#/definitions/api.Error'
summary: Link device and generate QR code.
tags:
- Devices