From e356315f9c32bfa6f11e8e1ce76fea0536f29984 Mon Sep 17 00:00:00 2001 From: "mudler's LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:00:59 +0200 Subject: [PATCH] feat(swagger): update swagger (#11236) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- swagger/docs.go | 4 ++-- swagger/swagger.json | 4 ++-- swagger/swagger.yaml | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/swagger/docs.go b/swagger/docs.go index 8da82f29c..f9b79654a 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -1798,7 +1798,7 @@ const docTemplate = `{ }, { "type": "integer", - "description": "desired output sample rate", + "description": "desired output sample rate in Hz; omit for the backend's own rate, otherwise 8000-192000", "name": "sample_rate", "in": "formData" } @@ -1855,7 +1855,7 @@ const docTemplate = `{ }, { "type": "integer", - "description": "desired output sample rate", + "description": "desired output sample rate in Hz; omit for the backend's own rate, otherwise 8000-192000", "name": "sample_rate", "in": "formData" } diff --git a/swagger/swagger.json b/swagger/swagger.json index 9042118a4..fc6b61921 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -1795,7 +1795,7 @@ }, { "type": "integer", - "description": "desired output sample rate", + "description": "desired output sample rate in Hz; omit for the backend's own rate, otherwise 8000-192000", "name": "sample_rate", "in": "formData" } @@ -1852,7 +1852,7 @@ }, { "type": "integer", - "description": "desired output sample rate", + "description": "desired output sample rate in Hz; omit for the backend's own rate, otherwise 8000-192000", "name": "sample_rate", "in": "formData" } diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 9c0f7ea32..9bbdc66c7 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -3984,7 +3984,8 @@ paths: in: formData name: response_format type: string - - description: desired output sample rate + - description: desired output sample rate in Hz; omit for the backend's own + rate, otherwise 8000-192000 in: formData name: sample_rate type: integer @@ -4028,7 +4029,8 @@ paths: in: formData name: response_format type: string - - description: desired output sample rate + - description: desired output sample rate in Hz; omit for the backend's own + rate, otherwise 8000-192000 in: formData name: sample_rate type: integer