Shun Miyazawa 4 лет назад
Родитель
Сommit
9cd274a779
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/app/src/server/routes/apiv3/page.js

+ 4 - 1
packages/app/src/server/routes/apiv3/page.js

@@ -484,13 +484,16 @@ module.exports = (crowi) => {
    *                properties:
    *                  pageId:
    *                    $ref: '#/components/schemas/Page/properties/_id'
+   *                  status:
+   *                    $ref: '#.componsnts/schemas/Subscription/properties/status'
+   *
    *        responses:
    *          200:
    *            description: Succeeded to update subscribe status.
    *            content:
    *              application/json:
    *                schema:
-   *                  $ref: '#/components/schemas/Page'
+   *                  $ref: '#/components/schemas/Subscription'
    *          500:
    *            description: Internal server error.
    */