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:
LocalAI [bot]
2025-08-19 22:56:00 +02:00
committed by GitHub
parent 9c7f92c81f
commit 4594430a3e
3 changed files with 59 additions and 59 deletions

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}
}

View File

@@ -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: