mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-01 10:59:25 -05:00
feat(swagger): update swagger (#6111)
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:
@@ -1087,26 +1087,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"p2p.NodeData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastSeen": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"serviceID": {
|
||||
"type": "string"
|
||||
},
|
||||
"tunnelAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"proto.MemoryUsageData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1451,6 +1431,26 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.NodeData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastSeen": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"serviceID": {
|
||||
"type": "string"
|
||||
},
|
||||
"tunnelAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.OpenAIModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1704,13 +1704,13 @@ const docTemplate = `{
|
||||
"federated_nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/p2p.NodeData"
|
||||
"$ref": "#/definitions/schema.NodeData"
|
||||
}
|
||||
},
|
||||
"nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/p2p.NodeData"
|
||||
"$ref": "#/definitions/schema.NodeData"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1080,26 +1080,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"p2p.NodeData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastSeen": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"serviceID": {
|
||||
"type": "string"
|
||||
},
|
||||
"tunnelAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"proto.MemoryUsageData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1444,6 +1424,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.NodeData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastSeen": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"serviceID": {
|
||||
"type": "string"
|
||||
},
|
||||
"tunnelAddress": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema.OpenAIModel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1697,13 +1697,13 @@
|
||||
"federated_nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/p2p.NodeData"
|
||||
"$ref": "#/definitions/schema.NodeData"
|
||||
}
|
||||
},
|
||||
"nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/p2p.NodeData"
|
||||
"$ref": "#/definitions/schema.NodeData"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -195,19 +195,6 @@ definitions:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
p2p.NodeData:
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
lastSeen:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
serviceID:
|
||||
type: string
|
||||
tunnelAddress:
|
||||
type: string
|
||||
type: object
|
||||
proto.MemoryUsageData:
|
||||
properties:
|
||||
breakdown:
|
||||
@@ -434,6 +421,19 @@ definitions:
|
||||
object:
|
||||
type: string
|
||||
type: object
|
||||
schema.NodeData:
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
lastSeen:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
serviceID:
|
||||
type: string
|
||||
tunnelAddress:
|
||||
type: string
|
||||
type: object
|
||||
schema.OpenAIModel:
|
||||
properties:
|
||||
id:
|
||||
@@ -611,11 +611,11 @@ definitions:
|
||||
properties:
|
||||
federated_nodes:
|
||||
items:
|
||||
$ref: '#/definitions/p2p.NodeData'
|
||||
$ref: '#/definitions/schema.NodeData'
|
||||
type: array
|
||||
nodes:
|
||||
items:
|
||||
$ref: '#/definitions/p2p.NodeData'
|
||||
$ref: '#/definitions/schema.NodeData'
|
||||
type: array
|
||||
type: object
|
||||
schema.SysInfoModel:
|
||||
|
||||
Reference in New Issue
Block a user