-
Notifications
You must be signed in to change notification settings - Fork 10
/
p-ping.yml
47 lines (45 loc) · 1.11 KB
/
p-ping.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
openapi: 3.0.3
paths:
/ping:
parameters:
- $ref: "./common.yml#/components/parameters/x-request"
get:
deprecated: true
summary: "Server health check"
operationId: ping
tags:
- healthcheck
responses:
200:
description: "Device info"
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceInfo"
components:
schemas:
DeviceInfo:
title: "DeviceInfo"
type: object
properties:
app-name:
type: string
version:
type: string
license-id:
type: string
license-serial:
type: string
valid-until:
type: string
format: date-time
server-time:
type: string
format: date-time
example:
app-name: "Regula Process Manager Service"
version: "5.3.104980.123"
license-id: "4d43a2af-e321-496c-9a4e-5a8f3d26df0e"
license-serial: "OL70786"
valid-until: "9999-12-31T23:59:59Z"
server-time: "2020-10-16 09:42:08.080713+00:00"