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

support(jsdoc): add swagger document to mongo.js

Atsushi Nakatsugawa пре 1 година
родитељ
комит
4af72bf63b
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      apps/app/src/server/routes/apiv3/mongo.js

+ 3 - 0
apps/app/src/server/routes/apiv3/mongo.js

@@ -27,6 +27,9 @@ module.exports = (crowi) => {
    *            application/json:
    *              schema:
    *                properties:
+   *                  ok:
+   *                    type: boolean
+   *                    description: whether the request is succeeded
    *                  collections:
    *                    type: array
    *                    items: