mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-13 20:48:14 +00:00
feat(swagger): update swagger (#3484)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
@ -266,6 +266,19 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/system": {
|
||||
"get": {
|
||||
"summary": "Show the LocalAI instance information",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/schema.SystemInformationResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/tts": {
|
||||
"post": {
|
||||
"consumes": [
|
||||
@ -1649,6 +1662,17 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.SystemInformationResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"backends": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.TTSRequest": {
|
||||
"description": "TTS request body",
|
||||
"type": "object",
|
||||
|
Reference in New Issue
Block a user