|
@@ -77,6 +77,7 @@ module.exports = (crowi) => {
|
|
|
* /healthcheck:
|
|
* /healthcheck:
|
|
|
* get:
|
|
* get:
|
|
|
* tags: [Healthcheck]
|
|
* tags: [Healthcheck]
|
|
|
|
|
+ * security: []
|
|
|
* operationId: getHealthcheck
|
|
* operationId: getHealthcheck
|
|
|
* summary: /healthcheck
|
|
* summary: /healthcheck
|
|
|
* description: Check whether the server is healthy or not
|
|
* description: Check whether the server is healthy or not
|
|
@@ -116,8 +117,6 @@ module.exports = (crowi) => {
|
|
|
* description: Errors
|
|
* description: Errors
|
|
|
* items:
|
|
* items:
|
|
|
* $ref: '#/components/schemas/ErrorV3'
|
|
* $ref: '#/components/schemas/ErrorV3'
|
|
|
- * info:
|
|
|
|
|
- * $ref: '#/components/schemas/HealthcheckInfo'
|
|
|
|
|
*/
|
|
*/
|
|
|
router.get('/', nocache(), async(req, res: ApiV3Response) => {
|
|
router.get('/', nocache(), async(req, res: ApiV3Response) => {
|
|
|
let checkServices = (() => {
|
|
let checkServices = (() => {
|