Преглед изворни кода

support(jsdoc): Fix/doc v3 healthcheck

Atsushi Nakatsugawa пре 1 година
родитељ
комит
5073f289d8
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      apps/app/src/server/routes/apiv3/healthcheck.ts

+ 5 - 3
apps/app/src/server/routes/apiv3/healthcheck.ts

@@ -76,7 +76,8 @@ module.exports = (crowi) => {
    *
    *  /healthcheck:
    *    get:
-   *      tags: [Healthcheck]
+   *      tags: [SecuritySetting]
+   *      security: []
    *      operationId: getHealthcheck
    *      summary: /healthcheck
    *      description: Check whether the server is healthy or not
@@ -103,8 +104,9 @@ module.exports = (crowi) => {
    *            application/json:
    *              schema:
    *                properties:
-   *                  info:
-   *                    $ref: '#/components/schemas/HealthcheckInfo'
+   *                  status:
+   *                    type: string
+   *                    description: Status
    *        503:
    *          description: Unhealthy
    *          content: