From 5ee6c1810b717806324a86cb2c3a37059a042d14 Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Thu, 1 Jan 2026 21:16:38 +0100 Subject: [PATCH] feat(swagger): update swagger (#7820) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> Co-authored-by: Ettore Di Giacinto --- swagger/docs.go | 5 +---- swagger/swagger.json | 5 +---- swagger/swagger.yaml | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/swagger/docs.go b/swagger/docs.go index a7d53c10c..60b4da993 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -2446,10 +2446,6 @@ const docTemplate = `{ "type": "string" } }, - "mode": { - "description": "Image (not supported by OpenAI)", - "type": "integer" - }, "model": { "type": "string" }, @@ -2476,6 +2472,7 @@ const docTemplate = `{ "description": "Prompt is read only by completion/image API calls" }, "quality": { + "description": "Image (not supported by OpenAI)", "type": "string" }, "reasoning_effort": { diff --git a/swagger/swagger.json b/swagger/swagger.json index 43b0cac9a..781b61758 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -2439,10 +2439,6 @@ "type": "string" } }, - "mode": { - "description": "Image (not supported by OpenAI)", - "type": "integer" - }, "model": { "type": "string" }, @@ -2469,6 +2465,7 @@ "description": "Prompt is read only by completion/image API calls" }, "quality": { + "description": "Image (not supported by OpenAI)", "type": "string" }, "reasoning_effort": { diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index c94906321..a18b69f89 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -705,9 +705,6 @@ definitions: additionalProperties: type: string type: object - mode: - description: Image (not supported by OpenAI) - type: integer model: type: string model_base_name: @@ -727,6 +724,7 @@ definitions: prompt: description: Prompt is read only by completion/image API calls quality: + description: Image (not supported by OpenAI) type: string reasoning_effort: type: string