From 5b075ed54b34d97a782d37ba9c14219755cd2c78 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Mon, 17 Jul 2023 20:59:17 +0200 Subject: [PATCH] Update swagger docs --- docs/docs.go | 8 ++++++++ docs/swagger.json | 8 ++++++++ docs/swagger.yaml | 7 +++++++ 3 files changed, 23 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index a5d85308..7415bd78 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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": { diff --git a/docs/swagger.json b/docs/swagger.json index 3868090e..a53f8044 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 7b2c8c87..917f0ed1 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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