diff --git a/docs/openapi.json b/docs/openapi.json index e7b7b140..6abd2154 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -33,7 +33,14 @@ }, "responses": { "200": { - "description": "See /generate or /generate_stream" + "description": "Generated Text", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GenerateResponse" + } + } + } }, "422": { "description": "Input validation error", @@ -727,4 +734,4 @@ "description": "Hugging Face Text Generation Inference API" } ] -} \ No newline at end of file +}