Kaynağa Gözat

Add property to swagger comment

arvid-e 8 ay önce
ebeveyn
işleme
b625e863f1

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

@@ -40,10 +40,11 @@ module.exports = (crowi) => {
  *                 currentDispositionSettings:
  *                   type: object
  *                   properties:
- *                     type: array
- *                     description: The list of MIME types set to inline.
- *                     items:
- *                       type: string
+ *                     inlineMimeTypes:
+ *                       type: array
+ *                       description: The list of MIME types set to inline.
+ *                       items:
+ *                         type: string
  *
  */
   router.put(
@@ -100,10 +101,11 @@ module.exports = (crowi) => {
  *                 currentDispositionSettings:
  *                   type: object
  *                   properties:
- *                     type: array
- *                     description: The list of MIME types set to inline.
- *                     items:
- *                       type: string
+ *                     inlineMimeTypes:
+ *                       type: array
+ *                       description: The list of MIME types set to inline.
+ *                       items:
+ *                         type: string
  *
  */
   router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {