|
@@ -18,8 +18,8 @@ const router = express.Router();
|
|
|
*
|
|
*
|
|
|
* components:
|
|
* components:
|
|
|
* schemas:
|
|
* schemas:
|
|
|
- * CustomBot:
|
|
|
|
|
- * description: CustomBot
|
|
|
|
|
|
|
+ * CustomBotNonProxy:
|
|
|
|
|
+ * description: CustomBotNonProxy
|
|
|
* type: object
|
|
* type: object
|
|
|
* properties:
|
|
* properties:
|
|
|
* slackSigningSecret:
|
|
* slackSigningSecret:
|
|
@@ -93,18 +93,18 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /slack-integration/custom-bot-setting/:
|
|
|
|
|
|
|
+ * /slack-integration/custom-bot-non-proxy/:
|
|
|
* put:
|
|
* put:
|
|
|
* tags: [CustomBot]
|
|
* tags: [CustomBot]
|
|
|
* operationId: putCustomBotSetting
|
|
* operationId: putCustomBotSetting
|
|
|
- * summary: /slack-integration/custom-bot-setting
|
|
|
|
|
|
|
+ * summary: /slack-integration/custom-bot-non-proxy
|
|
|
* description: Put singingSecret, slackBotToken and botType
|
|
* description: Put singingSecret, slackBotToken and botType
|
|
|
* requestBody:
|
|
* requestBody:
|
|
|
* required: true
|
|
* required: true
|
|
|
* content:
|
|
* content:
|
|
|
* application/json:
|
|
* application/json:
|
|
|
* schema:
|
|
* schema:
|
|
|
- * $ref: '#/components/schemas/CustomBot'
|
|
|
|
|
|
|
+ * $ref: '#/components/schemas/CustomBotNonProxy'
|
|
|
* responses:
|
|
* responses:
|
|
|
* 200:
|
|
* 200:
|
|
|
* description: Succeeded to put SigningSecret, SlackBotToken and BotType.
|
|
* description: Succeeded to put SigningSecret, SlackBotToken and BotType.
|