Răsfoiți Sursa

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

Atsushi Nakatsugawa 1 an în urmă
părinte
comite
4af72bf63b
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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: