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

+ 13 - 0
src/server/routes/apiv3/slack-integration.js

@@ -154,6 +154,19 @@ module.exports = (crowi) => {
       }
       }
     });
     });
 
 
+  /**
+   * @swagger
+   *
+   *    /slack-integration/custom-bot-without-proxy-slack-workspace:
+   *      get:
+   *        tags: [slackWorkSpaceName]
+   *        operationId: getSlackWorkSpaceName
+   *        summary: /slack-integration
+   *        description: get slack WS name in custom bot without proxy
+   *        responses:
+   *          200:
+   *            description: Succeeded to get slack ws name for custom bot without proxy
+   */
   router.get('/custom-bot-without-proxy-slack-workspace', async(req, res) => {
   router.get('/custom-bot-without-proxy-slack-workspace', async(req, res) => {
     // get work space name from slackbot token
     // get work space name from slackbot token
     const slackBotToken = crowi.configManager.getConfig('crowi', 'slackbot:token');
     const slackBotToken = crowi.configManager.getConfig('crowi', 'slackbot:token');