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