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