Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
}
}
}
Expand Down
44 changes: 22 additions & 22 deletions swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
}
}
}
Expand Down
30 changes: 15 additions & 15 deletions swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Loading