zahmis 5 anni fa
parent
commit
8e0e68346b
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      src/server/routes/apiv3/slack-integration.js

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

@@ -269,6 +269,19 @@ module.exports = (crowi) => {
     }
     }
   });
   });
 
 
+  /**
+   * @swagger
+   *
+   *    /slack-integration/test-notification-to-slack-work-space:
+   *      post:
+   *        tags: [SlackIntegration]
+   *        operationId: postSlackMessageToSlackWorkSpace
+   *        summary: test to send message to slack work space
+   *        description: post message to slack work space
+   *        responses:
+   *          200:
+   *            description: Succeeded to send a message to slack work space
+   */
   router.post('/test-notification-to-slack-work-space', async(req, res) => {
   router.post('/test-notification-to-slack-work-space', async(req, res) => {
     const isConnectedToSlack = crowi.slackBotService.isConnectedToSlack;
     const isConnectedToSlack = crowi.slackBotService.isConnectedToSlack;
     if (isConnectedToSlack === false) {
     if (isConnectedToSlack === false) {