49 lines
947 B
JSON
49 lines
947 B
JSON
{
|
|
"name": "test",
|
|
"description": "Test.",
|
|
"info": {
|
|
"contact": {
|
|
"name": "Niclas Thobaben",
|
|
"email": "info@nclazz.de",
|
|
"url": "nclazz.de"
|
|
},
|
|
"license": {
|
|
"name": "MIT",
|
|
"url": "https://opensource.org/licenses/MIT"
|
|
}
|
|
},
|
|
"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": {}
|
|
} |