zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
8e0e68346b
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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) => {
     const isConnectedToSlack = crowi.slackBotService.isConnectedToSlack;
     if (isConnectedToSlack === false) {