|
|
@@ -44,17 +44,16 @@ module.exports = (crowi) => {
|
|
|
* currentDispositionSettings:
|
|
|
* type: object
|
|
|
* properties:
|
|
|
- * inlineMimeTypes:
|
|
|
- * attachmentMimeTypes:
|
|
|
- * type: array
|
|
|
- * description: The list of MIME types set to attachment.
|
|
|
- * items:
|
|
|
- * type: string
|
|
|
* inlineMimeTypes:
|
|
|
- * type: array
|
|
|
- * description: The list of MIME types set to inline.
|
|
|
- * items:
|
|
|
- * type: string
|
|
|
+ * type: array
|
|
|
+ * description: The list of MIME types set to inline.
|
|
|
+ * items:
|
|
|
+ * type: string
|
|
|
+ * attachmentMimeTypes:
|
|
|
+ * type: array
|
|
|
+ * description: The list of MIME types set to attachment.
|
|
|
+ * items:
|
|
|
+ * type: string
|
|
|
*
|
|
|
*/
|
|
|
router.put(
|
|
|
@@ -138,6 +137,11 @@ module.exports = (crowi) => {
|
|
|
* description: The list of MIME types set to inline.
|
|
|
* items:
|
|
|
* type: string
|
|
|
+ * attachmentMimeTypes:
|
|
|
+ * type: array
|
|
|
+ * description: The list of MIME types set to attachment.
|
|
|
+ * items:
|
|
|
+ * type: string
|
|
|
*
|
|
|
*/
|
|
|
router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {
|