kaori 4 лет назад
Родитель
Сommit
5e63fa1766
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      src/server/routes/apiv3/slack-integration-settings.js

+ 6 - 6
src/server/routes/apiv3/slack-integration-settings.js

@@ -195,21 +195,21 @@ module.exports = (crowi) => {
   /**
   /**
    * @swagger
    * @swagger
    *
    *
-   *    /slack-integration/custom-bot-without-proxy/:
+   *    /slack-integration/bot-type/:
    *      put:
    *      put:
-   *        tags: [CustomBotWithoutProxy]
+   *        tags: [botType]
    *        operationId: putCustomBotWithoutProxy
    *        operationId: putCustomBotWithoutProxy
-   *        summary: /slack-integration/custom-bot-without-proxy
-   *        description: Put customBotWithoutProxy setting.
+   *        summary: /slack-integration/bot-type
+   *        description: Put botType setting.
    *        requestBody:
    *        requestBody:
    *          required: true
    *          required: true
    *          content:
    *          content:
    *            application/json:
    *            application/json:
    *              schema:
    *              schema:
-   *                $ref: '#/components/schemas/CustomBotWithoutProxy'
+   *                $ref: '#/components/schemas/botType'
    *        responses:
    *        responses:
    *           200:
    *           200:
-   *             description: Succeeded to put CustomBotWithoutProxy setting.
+   *             description: Succeeded to put botType setting.
    */
    */
   router.put('/bot-type',
   router.put('/bot-type',
     accessTokenParser, loginRequiredStrictly, adminRequired, csrf, validator.BotType, apiV3FormValidator, async(req, res) => {
     accessTokenParser, loginRequiredStrictly, adminRequired, csrf, validator.BotType, apiV3FormValidator, async(req, res) => {