feat(barcodes): Make width and height configureable

This commit is contained in:
2024-12-12 17:03:10 +01:00
parent 5c932158e9
commit 2a4f126377
4 changed files with 74 additions and 1 deletions

View File

@@ -52,6 +52,24 @@ const docTemplate = `{
"name": "content",
"in": "path",
"required": true
},
{
"maximum": 10000,
"minimum": 1,
"type": "integer",
"default": 1000,
"description": "Barcode width",
"name": "width",
"in": "query"
},
{
"maximum": 10000,
"minimum": 1,
"type": "integer",
"default": 1000,
"description": "Barcode height",
"name": "height",
"in": "query"
}
],
"responses": {}