From 31d62adb00db8d6e4db8c74dd9a631628564ac5f Mon Sep 17 00:00:00 2001 From: rchxx <=> Date: Fri, 15 Nov 2024 12:50:45 +0300 Subject: [PATCH 1/5] update DeviceInfo naming --- p-healthcheck.yml | 1 + p-ping.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/p-healthcheck.yml b/p-healthcheck.yml index d8d30013..b4414b3e 100644 --- a/p-healthcheck.yml +++ b/p-healthcheck.yml @@ -33,6 +33,7 @@ paths: components: schemas: DeviceInfo: + title: "DeviceInfo" type: object required: [app, licenseId, licenseType, licenseSerial, licenseValidUntil, scenarios, version] properties: diff --git a/p-ping.yml b/p-ping.yml index 8805fa13..71b2f9cc 100644 --- a/p-ping.yml +++ b/p-ping.yml @@ -16,11 +16,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeviceInfo" + $ref: "#/components/schemas/DeviceInfoDeprecated" components: schemas: - DeviceInfo: + DeviceInfoDeprecated: + title: "DeviceInfoDeprecated" type: object properties: app-name: From 4716c7a9b62ab03fb92191f8fd348ac5af52d24a Mon Sep 17 00:00:00 2001 From: rchxx <=> Date: Fri, 15 Nov 2024 13:09:19 +0300 Subject: [PATCH 2/5] update naming --- p-healthcheck.yml | 6 +++--- p-ping.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/p-healthcheck.yml b/p-healthcheck.yml index b4414b3e..1af85de0 100644 --- a/p-healthcheck.yml +++ b/p-healthcheck.yml @@ -15,7 +15,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeviceInfo" + $ref: "#/components/schemas/Healthcheck" /readyz: parameters: - $ref: "./common.yml#/components/parameters/x-request" @@ -32,8 +32,8 @@ paths: components: schemas: - DeviceInfo: - title: "DeviceInfo" + Healthcheck: + title: "Healthcheck" type: object required: [app, licenseId, licenseType, licenseSerial, licenseValidUntil, scenarios, version] properties: diff --git a/p-ping.yml b/p-ping.yml index 71b2f9cc..a0b7205d 100644 --- a/p-ping.yml +++ b/p-ping.yml @@ -16,12 +16,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeviceInfoDeprecated" + $ref: "#/components/schemas/DeviceInfo" components: schemas: - DeviceInfoDeprecated: - title: "DeviceInfoDeprecated" + DeviceInfo: + title: "DeviceInfo" type: object properties: app-name: From a44411100577bd5a429264711ea5095efacb0ea3 Mon Sep 17 00:00:00 2001 From: rchxx <=> Date: Fri, 15 Nov 2024 13:11:42 +0300 Subject: [PATCH 3/5] update description --- p-ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p-ping.yml b/p-ping.yml index a0b7205d..5ea140fe 100644 --- a/p-ping.yml +++ b/p-ping.yml @@ -6,7 +6,7 @@ paths: - $ref: "./common.yml#/components/parameters/x-request" get: deprecated: true - summary: "Server health check" + summary: "Server healthcheck" operationId: ping tags: - healthcheck From 919cf34e75aa1dc96ac0cd61d994fb578bb09441 Mon Sep 17 00:00:00 2001 From: Ihar Kliashchou Date: Sat, 16 Nov 2024 12:09:17 +0300 Subject: [PATCH 4/5] Update p-ping.yml --- p-ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p-ping.yml b/p-ping.yml index 5ea140fe..a0b7205d 100644 --- a/p-ping.yml +++ b/p-ping.yml @@ -6,7 +6,7 @@ paths: - $ref: "./common.yml#/components/parameters/x-request" get: deprecated: true - summary: "Server healthcheck" + summary: "Server health check" operationId: ping tags: - healthcheck From 5db0cef0e46d1bd41c63e255ddda27e2cd5c48fd Mon Sep 17 00:00:00 2001 From: Ihar Kliashchou Date: Sat, 16 Nov 2024 12:11:31 +0300 Subject: [PATCH 5/5] Update p-healthcheck.yml --- p-healthcheck.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p-healthcheck.yml b/p-healthcheck.yml index 1af85de0..090d32c0 100644 --- a/p-healthcheck.yml +++ b/p-healthcheck.yml @@ -5,7 +5,7 @@ paths: parameters: - $ref: "./common.yml#/components/parameters/x-request" get: - summary: "Server healthcheck" + summary: "Server health check" operationId: healthz tags: - healthcheck @@ -20,7 +20,7 @@ paths: parameters: - $ref: "./common.yml#/components/parameters/x-request" get: - summary: "License healthcheck" + summary: "License health check" operationId: readyz tags: - healthcheck @@ -33,7 +33,7 @@ paths: components: schemas: Healthcheck: - title: "Healthcheck" + title: "Health check" type: object required: [app, licenseId, licenseType, licenseSerial, licenseValidUntil, scenarios, version] properties: