api-cli/templates/default.json
Niclas Thobaben 81c24b7a7d
All checks were successful
nclazz/api-cli/pipeline/head This commit looks good
Initial Setup and Linter implementation (#1)
Co-authored-by: Niclas Thobaben <nt@noske-office.de>
Reviewed-on: de.nclazz/api-cli#1
Co-authored-by: Niclas Thobaben <niclas@die-thobabens.de>
Co-committed-by: Niclas Thobaben <niclas@die-thobabens.de>
2021-07-07 20:21:46 +00:00

36 lines
814 B
JSON

{
"name": "",
"description": "",
"info": {},
"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": {
}
}