Pārlūkot izejas kodu

Fixing swagger comment lint error

arvid-e 9 mēneši atpakaļ
vecāks
revīzija
26bcd91504

+ 23 - 23
apps/app/src/server/routes/apiv3/content-disposition-settings.js

@@ -99,32 +99,32 @@ module.exports = (crowi) => {
   });
 
 
-  /**
+ /**
  * @swagger
  *
  * /content-disposition-settings/{mimeType}:
- *    put:
- *      tags: [Content Disposition Settings]
- *      summary: Update content disposition setting for a specific MIME type
- *      description: Set the `inline` or `attachment` disposition for a given configurable MIME type.
- *      security:
- *        - cookieAuth: []
- *        - adminRequired: []
- *      parameters:
- *        - $ref: '#/components/parameters/MimeTypePathParam'
- *      requestBody:
- *        required: true
- *        content:
- *          application/json:
- *            schema:
- *              type: object
- *              required:
- *                - isInline
- *              properties:
- *                isInline:
- *                  type: boolean
- *                  description: Set to `true` for inline disposition, `false` for attachment disposition (e.g., prompts download).
- *                  example: true
+ *   put:
+ *     tags: [Content Disposition Settings]
+ *     summary: Update content disposition setting for a specific MIME type
+ *     description: Set the `inline` or `attachment` disposition for a given configurable MIME type.
+ *     security:
+ *       - cookieAuth: []
+ *       - adminRequired: []
+ *     parameters:
+ *       - $ref: '#/components/parameters/MimeTypePathParam'
+ *     requestBody:
+ *       required: true
+ *       content:
+ *         application/json:
+ *           schema:
+ *             type: object
+ *             required:
+ *               - isInline
+ *             properties:
+ *               isInline:
+ *                 type: boolean
+ *                 description: Set to `true` for inline disposition, `false` for attachment disposition (e.g., prompts download).
+ *                 example: true
  *   responses:
  *     200:
  *       description: Successfully updated content disposition setting.