File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed
Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 33 title : OpenAPI definition
44 version : v0
55servers :
6- - url : http://localhost:8080/api
6+ - url : http://localhost:8080
77 description : Generated server url
88paths :
99 /requests :
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+
205233components :
206234 schemas :
207235 AckHistory :
You can’t perform that action at this time.
0 commit comments