Selaa lähdekoodia

Merge pull request #9768 from goofmint/fix/doc-v3-healthcheck

support(jsdoc): Fix/doc v3 healthcheck
Yuki Takei 1 vuosi sitten
vanhempi
sitoutus
34aee07737
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      apps/app/src/server/routes/apiv3/healthcheck.ts

+ 1 - 2
apps/app/src/server/routes/apiv3/healthcheck.ts

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