2021-07-07 11:18:50 +02:00
|
|
|
{
|
|
|
|
"name": "",
|
2021-07-07 22:21:46 +02:00
|
|
|
"description": "",
|
2021-07-07 14:16:19 +02:00
|
|
|
"info": {},
|
2021-07-07 11:18:50 +02:00
|
|
|
"imports": [],
|
|
|
|
"headers": [],
|
|
|
|
"enums": {},
|
|
|
|
"interfaces": {},
|
|
|
|
"models": {
|
|
|
|
"healthcheck": {
|
|
|
|
"description": "A simple response indicating the health status of a service.",
|
|
|
|
"fields": [
|
|
|
|
{ "name": "status", "type": "string" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"unions": {},
|
|
|
|
"resources": {
|
|
|
|
"healthcheck": {
|
|
|
|
"path": "/_internal_/healthcheck",
|
|
|
|
"operations": {
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/healthcheck",
|
|
|
|
"description": "Simple healthcheck endpoint to test the status of the service.",
|
|
|
|
"responses": {
|
|
|
|
"200": { "type": "healthcheck", "description": "Get the current health status of the service." }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {},
|
|
|
|
"annotations": {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|