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