Skip to content

Commit f181253

Browse files
Merge pull request #63 from SoftwareAG/correcting_runtime_metrics_spec
Updating request and response body samples in runtime-metrics Openapi spec
2 parents fed4f15 + 4e1eac3 commit f181253

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

apis/openapi-specifications/runtime-metrics.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ paths:
8989
schema:
9090
$ref: '#/components/schemas/RuntimeHeartbeatData'
9191
example:
92-
created: 2022-07-14 14:25:17:116
92+
created: 2024-03-19T14:30:35.000+00:00
9393
active: 1
94-
docType: heartBeat
9594
id: ea488aed-2588-4988-990d-8342d0bca78
9695
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
9796
responses:
@@ -102,9 +101,8 @@ paths:
102101
schema:
103102
$ref: '#/components/schemas/RuntimeHeartbeatData'
104103
example:
105-
created: 2022-07-14 14:25:17:116
104+
created: 2024-03-19T14:30:35.000+00:00
106105
active: 1
107-
docType: heartBeat
108106
id: ea488aed-2588-4988-990d-8342d0bca78
109107
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
110108
'401':
@@ -211,7 +209,7 @@ paths:
211209
schema:
212210
$ref: '#/components/schemas/RuntimeHeartbeatData'
213211
example:
214-
created: 1657808717
212+
created: 1723041035000
215213
active: 1
216214
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
217215
responses:
@@ -222,10 +220,9 @@ paths:
222220
schema:
223221
$ref: '#/components/schemas/RuntimeHeartbeatDataV2'
224222
example:
225-
created: 2022-07-14 14:25:17:116
223+
created: 2024-03-19T14:30:35.000+00:00
226224
active: 1
227-
docType: heartBeat,
228-
id: ea488aed-2588-4988-990d-8342d0bca78,
225+
id: du988aed-2588-4988-990d-8342d0bcw45-1723041035000,
229226
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
230227
'401':
231228
description: This status code indicates that either the user did not provide any user credentials or the user does not have access rights to retrieve the status of persona.
@@ -247,7 +244,7 @@ paths:
247244
example:
248245
[
249246
{
250-
created: 1657808717,
247+
created: 1723041035000,
251248
active: 1,
252249
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
253250
}
@@ -265,10 +262,9 @@ paths:
265262
example:
266263
[
267264
{
268-
created: 2022-07-14 14:25:17:116,
265+
created: 2024-03-19T14:30:35.000+00:00,
269266
active: 1,
270-
docType: heartBeat,
271-
id: ea488aed-2588-4988-990d-8342d0bca78,
267+
id: du988aed-2588-4988-990d-8342d0bcw45-1723041035000,
272268
runtimeId: du988aed-2588-4988-990d-8342d0bcw45
273269
}
274270
]
@@ -319,7 +315,7 @@ components:
319315
created:
320316
type: object
321317
description: Runtime created date.
322-
example: 2022-07-14 14:25:17:116
318+
example: 2024-03-19T14:30:35.000+00:00
323319
required: true
324320
active:
325321
type: number
@@ -350,6 +346,10 @@ components:
350346
type: number
351347
description: This shows the runtime active i9nactive status, 1 is active, 0 is inactive.
352348
example: 1
349+
id:
350+
type: string
351+
description: UUID of for each runtime.
352+
example: ea488aed-2588-4988-990d-8342d0bca78
353353
runtimeId:
354354
type: string
355355
description: UUID of the Runtime.

0 commit comments

Comments
 (0)