فهرست منبع

Update swagger comment

arvid-e 6 ماه پیش
والد
کامیت
22d6213bdf
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      apps/app/src/server/routes/apiv3/content-disposition-settings.ts

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

@@ -41,7 +41,7 @@ module.exports = (crowi) => {
  *                   type: object
  *                   additionalProperties:
  *                     type: string[]
- *                     description: inline MIME types.
+ *                     description: inline MIME types
  *
  */
   router.put(
@@ -95,11 +95,11 @@ module.exports = (crowi) => {
  *             schema:
  *               type: object
  *               properties:
- *                 contentDispositionSettings:
+ *                 currentDispositionSettings:
  *                   type: object
  *                   additionalProperties:
  *                     type: string
- *                     description: inline or attachment
+ *                     description: inline MIME types
  *
  */
   router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {