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

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

@@ -265,7 +265,20 @@ module.exports = (crowi) => {
       }
     });
 
-  router.put('/update-settings', async(req, res) => {
+  /**
+   * @swagger
+   *
+   *    /slack-integration/without-proxy/update-settings/:
+   *      put:
+   *        tags: [UpdateWithoutProxySettings]
+   *        operationId: putWithoutProxySettings
+   *        summary: update customBotWithoutProxy settings
+   *        description: Update customBotWithoutProxy setting.
+   *        responses:
+   *           200:
+   *             description: Succeeded to put CustomBotWithoutProxy setting.
+   */
+  router.put('/without-proxy/update-settings', async(req, res) => {
     if (req.body.currentBotType === 'customBotWithoutProxy') {
       const { slackSigningSecret, slackBotToken, currentBotType } = req.body;
       const requestParams = {