mirror of
https://github.com/datarhei/core.git
synced 2025-10-21 15:09:36 +08:00
Update swagger docs
This commit is contained in:
@@ -4415,6 +4415,7 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"description": "RFC3339",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
@@ -4552,9 +4553,11 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"last_contact_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"latency_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"status": {
|
||||
@@ -4620,6 +4623,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"last_contact_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"log_index": {
|
||||
@@ -5831,6 +5835,9 @@ const docTemplate = `{
|
||||
"config": {
|
||||
"$ref": "#/definitions/api.ProcessConfig"
|
||||
},
|
||||
"core_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
@@ -7732,6 +7739,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"build_date": {
|
||||
"description": "RFC3339",
|
||||
"type": "string"
|
||||
},
|
||||
"compiler": {
|
||||
|
@@ -4407,6 +4407,7 @@
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"description": "RFC3339",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
@@ -4544,9 +4545,11 @@
|
||||
"type": "string"
|
||||
},
|
||||
"last_contact_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"latency_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"status": {
|
||||
@@ -4612,6 +4615,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"last_contact_ms": {
|
||||
"description": "milliseconds",
|
||||
"type": "number"
|
||||
},
|
||||
"log_index": {
|
||||
@@ -5823,6 +5827,9 @@
|
||||
"config": {
|
||||
"$ref": "#/definitions/api.ProcessConfig"
|
||||
},
|
||||
"core_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
@@ -7724,6 +7731,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"build_date": {
|
||||
"description": "RFC3339",
|
||||
"type": "string"
|
||||
},
|
||||
"compiler": {
|
||||
|
@@ -55,6 +55,7 @@ definitions:
|
||||
type: string
|
||||
type: array
|
||||
created_at:
|
||||
description: RFC3339
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
@@ -145,8 +146,10 @@ definitions:
|
||||
error:
|
||||
type: string
|
||||
last_contact_ms:
|
||||
description: milliseconds
|
||||
type: number
|
||||
latency_ms:
|
||||
description: milliseconds
|
||||
type: number
|
||||
status:
|
||||
type: string
|
||||
@@ -191,6 +194,7 @@ definitions:
|
||||
address:
|
||||
type: string
|
||||
last_contact_ms:
|
||||
description: milliseconds
|
||||
type: number
|
||||
log_index:
|
||||
type: integer
|
||||
@@ -1004,6 +1008,8 @@ definitions:
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/definitions/api.ProcessConfig'
|
||||
core_id:
|
||||
type: string
|
||||
created_at:
|
||||
format: int64
|
||||
type: integer
|
||||
@@ -2352,6 +2358,7 @@ definitions:
|
||||
arch:
|
||||
type: string
|
||||
build_date:
|
||||
description: RFC3339
|
||||
type: string
|
||||
compiler:
|
||||
type: string
|
||||
|
Reference in New Issue
Block a user