Преглед изворни кода

Add property to swagger comment

arvid-e пре 8 месеци
родитељ
комит
b625e863f1
1 измењених фајлова са 10 додато и 8 уклоњено
  1. 10 8
      apps/app/src/server/routes/apiv3/content-disposition-settings.ts

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