Skip to content

Commit 2af1b9e

Browse files
[NT] Update DeviceInfo naming (#210)
* update DeviceInfo naming * update naming * update description * Update p-ping.yml * Update p-healthcheck.yml --------- Co-authored-by: rchxx <=> Co-authored-by: Ihar Kliashchou <ihar.kliashchou@gmail.com>
1 parent 969e0c6 commit 2af1b9e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

p-healthcheck.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ paths:
55
parameters:
66
- $ref: "./common.yml#/components/parameters/x-request"
77
get:
8-
summary: "Server healthcheck"
8+
summary: "Server health check"
99
operationId: healthz
1010
tags:
1111
- healthcheck
@@ -15,12 +15,12 @@ paths:
1515
content:
1616
application/json:
1717
schema:
18-
$ref: "#/components/schemas/DeviceInfo"
18+
$ref: "#/components/schemas/Healthcheck"
1919
/readyz:
2020
parameters:
2121
- $ref: "./common.yml#/components/parameters/x-request"
2222
get:
23-
summary: "License healthcheck"
23+
summary: "License health check"
2424
operationId: readyz
2525
tags:
2626
- healthcheck
@@ -32,7 +32,8 @@ paths:
3232

3333
components:
3434
schemas:
35-
DeviceInfo:
35+
Healthcheck:
36+
title: "Health check"
3637
type: object
3738
required: [app, licenseId, licenseType, licenseSerial, licenseValidUntil, scenarios, version]
3839
properties:

p-ping.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ paths:
2121
components:
2222
schemas:
2323
DeviceInfo:
24+
title: "DeviceInfo"
2425
type: object
2526
properties:
2627
app-name:

0 commit comments

Comments
 (0)