Document color and bgColor QR code query params

This commit is contained in:
Alejandro Celaya
2024-03-05 11:14:07 +01:00
parent febca6d441
commit 97c94f8fcc
2 changed files with 37 additions and 1 deletions

View File

@@ -65,6 +65,26 @@
"enum": ["true", "false"],
"default": "false"
}
},
{
"name": "color",
"in": "query",
"description": "The QR code foreground color. It should be an hex representation of a color, in 3 or 6 characters, optionally preceded by the \"#\" character.",
"required": false,
"schema": {
"type": "string",
"default": "#000000"
}
},
{
"name": "bgColor",
"in": "query",
"description": "The QR code background color. It should be an hex representation of a color, in 3 or 6 characters, optionally preceded by the \"#\" character.",
"required": false,
"schema": {
"type": "string",
"default": "#ffffff"
}
}
],
"responses": {