فهرست منبع

support(jsdoc): change response reference name in in-app-notification.ts

Atsushi Nakatsugawa 1 سال پیش
والد
کامیت
bca02fffd4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      apps/app/src/server/routes/apiv3/in-app-notification.ts

+ 2 - 2
apps/app/src/server/routes/apiv3/in-app-notification.ts

@@ -18,7 +18,7 @@ const router = express.Router();
  * @swagger
  * components:
  *   schemas:
- *     DocumentResponse:
+ *     InAppNotificationListResponse:
  *       type: object
  *       properties:
  *         docs:
@@ -129,7 +129,7 @@ module.exports = (crowi) => {
    *          content:
    *            application/json:
    *              schema:
-   *                $ref: '#/components/schemas/DocumentResponse'
+   *                $ref: '#/components/schemas/InAppNotificationListResponse'
    */
   router.get('/list', accessTokenParser, loginRequiredStrictly, async(req: CrowiRequest, res: ApiV3Response) => {
     // user must be set by loginRequiredStrictly