feat(api): add health check endpoint
This adds a new /ping endpoint to verify API functionality.
This commit is contained in:
parent
a738fed493
commit
f62ea18e75
1 changed files with 17 additions and 0 deletions
|
|
@ -26,6 +26,23 @@ tags:
|
|||
description: Gestion et consultation du référentiel RH des employés.
|
||||
|
||||
paths:
|
||||
/ping:
|
||||
get:
|
||||
tags:
|
||||
- System
|
||||
summary: Health check (Ping)
|
||||
description: Permet de vérifier que l'API est fonctionnelle.
|
||||
operationId: ping
|
||||
responses:
|
||||
'200':
|
||||
description: Service OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: string
|
||||
example: "pong"
|
||||
|
||||
|
||||
/employees:
|
||||
get:
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue