Added extra examples for error responses in swagger docs

This commit is contained in:
Alejandro Celaya
2021-12-09 18:28:47 +01:00
parent 808ae6a442
commit 0fd941401b
17 changed files with 211 additions and 30 deletions

View File

@@ -60,6 +60,17 @@
"enum": ["L", "M", "Q", "H"],
"default": "L"
}
},
{
"name": "roundBlockSize",
"in": "query",
"description": "Allows to disable block size rounding, which might reduce the readability of the QR code, but ensures no extra margin is added.",
"required": false,
"schema": {
"type": "string",
"enum": ["true", "false"],
"default": "false"
}
}
],
"responses": {