feat(api): improve health endpoint with verbose mode and better naming

This commit is contained in:
Sam Chau
2026-01-25 23:36:06 +10:30
parent bef616e595
commit 317e66b5fc
3 changed files with 175 additions and 125 deletions

View File

@@ -9,8 +9,17 @@ health:
- `healthy`: All components functioning normally
- `degraded`: Core functionality works but some components have issues
- `unhealthy`: Core functionality is broken
Use `?verbose=true` for detailed component information.
tags:
- System
parameters:
- name: verbose
in: query
description: Include detailed component information
schema:
type: boolean
default: false
responses:
'200':
description: Health check response