Skip to content

Commit 0bdab77

Browse files
authored
openapi spec update to be more accurate (#1027)
1 parent 06d0ad4 commit 0bdab77

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

gp2gp_adaptor_response_docs.yaml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ info:
33
title: OpenAPI definition
44
version: v0
55
servers:
6-
- url: http://localhost:8080/api
6+
- url: http://localhost:8080
77
description: Generated server url
88
paths:
99
/requests:
@@ -73,7 +73,7 @@ paths:
7373
/ehr-resend/{conversationId}:
7474
post:
7575
tags:
76-
- Ehr resend controller
76+
- Ehr Status send / resend controller
7777
summary: Schedule Ehr Extract Resend
7878
description: Schedule Ehr Extract Resend
7979
operationId: scheduleEhrExtractResend
@@ -101,7 +101,7 @@ paths:
101101
/ehr-status/{conversationId}:
102102
get:
103103
tags:
104-
- Ehr Status controller
104+
- Ehr Status send / resend controller
105105
operationId: getEhrStatus
106106
parameters:
107107
- name: conversationId
@@ -202,6 +202,34 @@ paths:
202202
originalRequestDate: "2023-07-24T09:38:50.947Z"
203203
fromAsid: "918999198738"
204204
toAsid: "200000000359"
205+
/healthcheck:
206+
get:
207+
tags:
208+
- Admin
209+
summary: "Healthcheck"
210+
description: "Provides the status of the application health."
211+
responses:
212+
'200':
213+
description: "Application is healthy"
214+
content:
215+
application/json:
216+
schema:
217+
type: object
218+
properties:
219+
status:
220+
type: string
221+
example: "UP"
222+
'503':
223+
description: "Application is unhealthy"
224+
content:
225+
application/json:
226+
schema:
227+
type: object
228+
properties:
229+
status:
230+
type: string
231+
example: "DOWN"
232+
205233
components:
206234
schemas:
207235
AckHistory:

0 commit comments

Comments
 (0)