feat(swagger): update swagger

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
mudler 2025-02-10 20:02:59 +00:00 committed by github-actions[bot]
parent 49df492268
commit 7c7477e196
3 changed files with 8 additions and 72 deletions

View file

@ -498,30 +498,6 @@
}
}
},
"/v1/completions": {
"post": {
"summary": "Generate completions for a given prompt and model.",
"parameters": [
{
"description": "query params",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/schema.OpenAIRequest"
}
}
],
"responses": {
"200": {
"description": "Response",
"schema": {
"$ref": "#/definitions/schema.OpenAIResponse"
}
}
}
}
},
"/v1/edits": {
"post": {
"summary": "OpenAI edit endpoint",
@ -1414,6 +1390,9 @@
"schema.JINARerankRequest": {
"type": "object",
"properties": {
"backend": {
"type": "string"
},
"documents": {
"type": "array",
"items": {
@ -1623,7 +1602,6 @@
"type": "integer"
},
"model": {
"description": "Also part of the OpenAI official spec",
"type": "string"
},
"model_base_name": {
@ -1829,7 +1807,6 @@
"type": "string"
},
"model": {
"description": "model name or full path",
"type": "string"
},
"response_format": {
@ -1893,7 +1870,6 @@
}
},
"model": {
"description": "model name or full path",
"type": "string"
}
}