mirror of
https://github.com/mudler/LocalAI.git
synced 2026-06-20 14:49:09 -04:00
docs(swagger): regenerate for GET /api/aliases
Adds the /api/aliases path and AliasInfo schema generated from the ListAliasesEndpoint annotation. Assisted-by: Claude:claude-opus-4-8 [Claude Code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -500,6 +500,25 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/aliases": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"models"
|
||||
],
|
||||
"summary": "List model aliases",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/localai.AliasInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/backend-logs": {
|
||||
"get": {
|
||||
"description": "Returns a sorted list of model IDs that have captured backend process output",
|
||||
@@ -3486,6 +3505,17 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"localai.AliasInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"localai.BrandingResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -497,6 +497,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/aliases": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"models"
|
||||
],
|
||||
"summary": "List model aliases",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/localai.AliasInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/backend-logs": {
|
||||
"get": {
|
||||
"description": "Returns a sorted list of model IDs that have captured backend process output",
|
||||
@@ -3483,6 +3502,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"localai.AliasInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"localai.BrandingResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -281,6 +281,13 @@ definitions:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
localai.AliasInfo:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
target:
|
||||
type: string
|
||||
type: object
|
||||
localai.BrandingResponse:
|
||||
properties:
|
||||
favicon_url:
|
||||
@@ -2780,6 +2787,18 @@ paths:
|
||||
summary: Execute an agent task by name
|
||||
tags:
|
||||
- agent-jobs
|
||||
/api/aliases:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/localai.AliasInfo'
|
||||
type: array
|
||||
summary: List model aliases
|
||||
tags:
|
||||
- models
|
||||
/api/backend-logs:
|
||||
get:
|
||||
description: Returns a sorted list of model IDs that have captured backend process
|
||||
|
||||
Reference in New Issue
Block a user