feat(openapi): add /healthy route for health check

This commit is contained in:
Mert Şişmanoğlu committed 2024-08-31 13:51:36 +03:00
1 parent f680ed8af1
commit b6190728a0
1 file changed
+38
+38
View File
@@ -546,6 +546,44 @@
}
}
}
},
"/healthy": {
"get": {
"tags": ["healthy"],
"description": "Health check",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {