From 3a63308d5f25522e3bad8126e03114707c4a84bb Mon Sep 17 00:00:00 2001 From: LordMathis Date: Mon, 22 Sep 2025 22:39:01 +0200 Subject: [PATCH] Update error descriptions in API documentation for clarity --- apidocs/docs.go | 2 +- apidocs/swagger.json | 2 +- apidocs/swagger.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apidocs/docs.go b/apidocs/docs.go index 93edced..d5108e1 100644 --- a/apidocs/docs.go +++ b/apidocs/docs.go @@ -762,7 +762,7 @@ const docTemplate = `{ "description": "OpenAI response" }, "400": { - "description": "Invalid request body or model name", + "description": "Invalid request body or instance name", "schema": { "type": "string" } diff --git a/apidocs/swagger.json b/apidocs/swagger.json index dc7f1c8..9648cc0 100644 --- a/apidocs/swagger.json +++ b/apidocs/swagger.json @@ -755,7 +755,7 @@ "description": "OpenAI response" }, "400": { - "description": "Invalid request body or model name", + "description": "Invalid request body or instance name", "schema": { "type": "string" } diff --git a/apidocs/swagger.yaml b/apidocs/swagger.yaml index 89b53fd..4b68861 100644 --- a/apidocs/swagger.yaml +++ b/apidocs/swagger.yaml @@ -556,7 +556,7 @@ paths: "200": description: OpenAI response "400": - description: Invalid request body or model name + description: Invalid request body or instance name schema: type: string "500":