Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Aug 22, 2024
1 parent 361a776 commit 208b3ef
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions apps/app/src/server/routes/apiv3/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ const express = require('express');
const multer = require('multer');


const GrowiArchiveImportOption = require('~/models/admin/growi-archive-import-option');


const router = express.Router();

/**
Expand All @@ -26,6 +23,21 @@ const router = express.Router();
* name: Import
*/

/**
* @swagger
*
* components:
* schemas:
* GrowiArchiveImportOption:
* description: GrowiArchiveImportOption
* type: object
* properties:
* mode:
* description: Import mode
* type: string
* enum: [insert, upsert, flushAndInsert]
*/

/**
* @swagger
*
Expand Down Expand Up @@ -185,12 +197,7 @@ export default function route(crowi) {
* additionalProperties:
* type: array
* items:
* type: object
* properties:
* mode:
* description: Import mode
* type: string
* enum: [insert, upsert, flushAndInsert]
* $ref: '#/components/schemas/GrowiArchiveImportOption'
* responses:
* 200:
* description: Import process has requested
Expand Down

0 comments on commit 208b3ef

Please sign in to comment.