Forráskód Böngészése

Fix mistake in swagger comment

arvid-e 6 hónapja
szülő
commit
257d555f2b

+ 14 - 10
apps/app/src/server/routes/apiv3/content-disposition-settings.ts

@@ -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) => {